1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Create SubLink nodes in parser for Vadim.

This commit is contained in:
Bruce Momjian
1998-01-19 05:06:41 +00:00
parent 691dc282f8
commit 588867bd7b
10 changed files with 133 additions and 43 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.7 1998/01/17 04:53:19 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.8 1998/01/19 05:06:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -42,7 +42,7 @@ static Node *make_operand(char *opname,
*/
ParseState *
make_parsestate(void)
make_parsestate(ParseState *parentParseState)
{
ParseState *pstate;
@ -50,7 +50,8 @@ make_parsestate(void)
MemSet(pstate, 0, sizeof(ParseState));
pstate->p_last_resno = 1;
pstate->parentParseState = parentParseState;
return (pstate);
}