Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6222292

Browse files
author
Thomas G. Lockhart
committed
Fix up a couple of comments broken by the automatic indenting process.
1 parent 3984f0e commit 6222292

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

src/backend/parser/analyze.c

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.75 1998/05/09 23:29:52 thomas Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.76 1998/05/29 13:39:30 thomas Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -315,8 +315,8 @@ transformInsertStmt(ParseState *pstate, InsertStmt *stmt)
315315
te = makeNode(TargetEntry);
316316
te->resdom = makeResdom(defval[ndef].adnum,
317317
att[defval[ndef].adnum - 1]->atttypid,
318-
att[defval[ndef].adnum - 1]->atttypmod,
319-
pstrdup(nameout(&(att[defval[ndef].adnum - 1]->attname))),
318+
att[defval[ndef].adnum - 1]->atttypmod,
319+
pstrdup(nameout(&(att[defval[ndef].adnum - 1]->attname))),
320320
0, 0, 0);
321321
te->fjoin = NULL;
322322
te->expr = (Node *) stringToNode(defval[ndef].adbin);
@@ -350,9 +350,10 @@ transformInsertStmt(ParseState *pstate, InsertStmt *stmt)
350350
if (pstate->p_hasAggs)
351351
parseCheckAggregates(pstate, qry);
352352

353-
/* The INSERT INTO ... SELECT ... could have a UNION */
354-
qry->unionall = stmt->unionall; /* in child, so unionClause may be
355-
* false */
353+
/* The INSERT INTO ... SELECT ... could have a UNION
354+
* in child, so unionClause may be false
355+
*/
356+
qry->unionall = stmt->unionall;
356357
qry->unionClause = transformUnionClause(stmt->unionClause, qry->targetList);
357358

358359
return (Query *) qry;
@@ -813,8 +814,10 @@ transformSelectStmt(ParseState *pstate, SelectStmt *stmt)
813814
if (pstate->p_hasAggs)
814815
parseCheckAggregates(pstate, qry);
815816

816-
qry->unionall = stmt->unionall; /* in child, so unionClause may be
817-
* false */
817+
/* The INSERT INTO ... SELECT ... could have a UNION
818+
* in child, so unionClause may be false
819+
*/
820+
qry->unionall = stmt->unionall;
818821
qry->unionClause = transformUnionClause(stmt->unionClause, qry->targetList);
819822

820823
return (Query *) qry;

0 commit comments

Comments
 (0)