mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user