From 6ebc90b0455ffe9dc0bcaf85185b2746008003f6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 19 Aug 2002 15:08:47 +0000 Subject: 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. --- src/backend/parser/parse_target.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/backend/parser/parse_target.c') 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)); -- cgit v1.2.3