diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-19 15:08:47 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-19 15:08:47 +0000 |
commit | 6ebc90b0455ffe9dc0bcaf85185b2746008003f6 (patch) | |
tree | ac89e57df60a93047eb69e28074556c0c9acdb6f /src/backend/parser/parse_target.c | |
parent | 10b374aecfb50365eeb93e3434a77729d7a89541 (diff) | |
download | postgresql-6ebc90b0455ffe9dc0bcaf85185b2746008003f6.tar.gz postgresql-6ebc90b0455ffe9dc0bcaf85185b2746008003f6.zip |
Remove Ident nodetype in favor of using String nodes; this fixes some
latent wrong-struct-type bugs and makes the coding style more uniform,
since the majority of places working with lists of column names were
already using Strings not Idents. While at it, remove vestigial
support for Stream node type, and otherwise-unreferenced nodes.h entries
for T_TupleCount and T_BaseNode.
NB: full recompile is recommended due to changes of Node type numbers.
This shouldn't force an initdb though.
Diffstat (limited to 'src/backend/parser/parse_target.c')
-rw-r--r-- | src/backend/parser/parse_target.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/parser/parse_target.c b/src/backend/parser/parse_target.c index 6f5b5bab90b..26983c48cf1 100644 --- a/src/backend/parser/parse_target.c +++ b/src/backend/parser/parse_target.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.87 2002/08/08 01:44:31 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.88 2002/08/19 15:08:47 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -501,9 +501,6 @@ FigureColnameInternal(Node *node, char **name) switch (nodeTag(node)) { - case T_Ident: - *name = ((Ident *) node)->name; - return 2; case T_ColumnRef: { char *cname = strVal(llast(((ColumnRef *) node)->fields)); |