diff options
Diffstat (limited to 'src/backend/parser/analyze.c')
-rw-r--r-- | src/backend/parser/analyze.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c index f5b19d13a1b..6232a2d067d 100644 --- a/src/backend/parser/analyze.c +++ b/src/backend/parser/analyze.c @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: analyze.c,v 1.96 1999/01/27 01:18:20 scrappy Exp $ + * $Id: analyze.c,v 1.97 1999/02/02 03:44:32 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -924,6 +924,7 @@ transformSelectStmt(ParseState *pstate, SelectStmt *stmt) qry->uniqueFlag = stmt->unique; qry->into = stmt->into; + qry->isTemp = stmt->istemp; qry->isPortal = FALSE; qry->targetList = transformTargetList(pstate, stmt->targetList); @@ -1032,6 +1033,7 @@ transformCursorStmt(ParseState *pstate, SelectStmt *stmt) qry = transformSelectStmt(pstate, stmt); qry->into = stmt->portalname; + qry->isTemp = stmt->istemp; qry->isPortal = TRUE; qry->isBinary = stmt->binary; /* internal portal */ @@ -1074,7 +1076,7 @@ create_select_list(Node *ptr, List **select_list, bool *unionall_present) * hands back 'true' */ Node *A_Expr_to_Expr(Node *ptr, bool *intersect_present) { - Node *result; + Node *result = NULL; switch(nodeTag(ptr)) { |