mirror of
https://github.com/postgres/postgres.git
synced 2025-07-20 05:03:10 +03:00
Create SubLink nodes in parser for Vadim.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.65 1998/01/15 18:59:56 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.66 1998/01/19 05:06:13 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -53,7 +53,7 @@ List *extras = NIL;
|
||||
*
|
||||
*/
|
||||
QueryTreeList *
|
||||
parse_analyze(List *pl)
|
||||
parse_analyze(List *pl, ParseState *parentParseState)
|
||||
{
|
||||
QueryTreeList *result;
|
||||
ParseState *pstate;
|
||||
@ -65,7 +65,7 @@ parse_analyze(List *pl)
|
||||
|
||||
while (pl != NIL)
|
||||
{
|
||||
pstate = make_parsestate();
|
||||
pstate = make_parsestate(parentParseState);
|
||||
result->qtrees[i++] = transformStmt(pstate, lfirst(pl));
|
||||
if (extras != NIL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user