diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-09-30 00:24:27 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-09-30 00:24:27 +0000 |
commit | f065957062095f1b563d91b8950ee7411055025c (patch) | |
tree | 0d05e23168c4ce28044306516c29e96db3291970 /src/backend/parser/parse_target.c | |
parent | 912c27f9c2a228fbba41547f10a109a338439a2b (diff) | |
download | postgresql-f065957062095f1b563d91b8950ee7411055025c.tar.gz postgresql-f065957062095f1b563d91b8950ee7411055025c.zip |
Come to think of it, functions in FROM have the same syntactic restriction
as CREATE INDEX did, and can be fixed the same way, for another small
improvement in usability and reduction in grammar size.
Diffstat (limited to 'src/backend/parser/parse_target.c')
-rw-r--r-- | src/backend/parser/parse_target.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/parser/parse_target.c b/src/backend/parser/parse_target.c index 35375c39ac3..b130a842aff 100644 --- a/src/backend/parser/parse_target.c +++ b/src/backend/parser/parse_target.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/parser/parse_target.c,v 1.125 2004/08/29 05:06:44 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/parser/parse_target.c,v 1.126 2004/09/30 00:24:21 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -41,7 +41,6 @@ static Node *transformAssignmentIndirection(ParseState *pstate, static List *ExpandColumnRefStar(ParseState *pstate, ColumnRef *cref); static List *ExpandAllTables(ParseState *pstate); static List *ExpandIndirectionStar(ParseState *pstate, A_Indirection *ind); -static char *FigureColname(Node *node); static int FigureColnameInternal(Node *node, char **name); @@ -893,7 +892,7 @@ ExpandIndirectionStar(ParseState *pstate, A_Indirection *ind) * Note that the argument is the *untransformed* parse tree for the target * item. This is a shade easier to work with than the transformed tree. */ -static char * +char * FigureColname(Node *node) { char *name = NULL; |