Commit 62222925 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Fix up a couple of comments broken by the automatic indenting process.

parent 3984f0ee
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.75 1998/05/09 23:29:52 thomas Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.76 1998/05/29 13:39:30 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -350,9 +350,10 @@ transformInsertStmt(ParseState *pstate, InsertStmt *stmt) ...@@ -350,9 +350,10 @@ transformInsertStmt(ParseState *pstate, InsertStmt *stmt)
if (pstate->p_hasAggs) if (pstate->p_hasAggs)
parseCheckAggregates(pstate, qry); parseCheckAggregates(pstate, qry);
/* The INSERT INTO ... SELECT ... could have a UNION */ /* The INSERT INTO ... SELECT ... could have a UNION
qry->unionall = stmt->unionall; /* in child, so unionClause may be * in child, so unionClause may be false
* false */ */
qry->unionall = stmt->unionall;
qry->unionClause = transformUnionClause(stmt->unionClause, qry->targetList); qry->unionClause = transformUnionClause(stmt->unionClause, qry->targetList);
return (Query *) qry; return (Query *) qry;
...@@ -813,8 +814,10 @@ transformSelectStmt(ParseState *pstate, SelectStmt *stmt) ...@@ -813,8 +814,10 @@ transformSelectStmt(ParseState *pstate, SelectStmt *stmt)
if (pstate->p_hasAggs) if (pstate->p_hasAggs)
parseCheckAggregates(pstate, qry); parseCheckAggregates(pstate, qry);
qry->unionall = stmt->unionall; /* in child, so unionClause may be /* The INSERT INTO ... SELECT ... could have a UNION
* false */ * in child, so unionClause may be false
*/
qry->unionall = stmt->unionall;
qry->unionClause = transformUnionClause(stmt->unionClause, qry->targetList); qry->unionClause = transformUnionClause(stmt->unionClause, qry->targetList);
return (Query *) qry; return (Query *) qry;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment