mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
pgindent run for 9.6
This commit is contained in:
@ -1583,10 +1583,10 @@ deparseColumnRef(StringInfo buf, int varno, int varattno, PlannerInfo *root,
|
||||
/*
|
||||
* All other system attributes are fetched as 0, except for table OID,
|
||||
* which is fetched as the local table OID. However, we must be
|
||||
* careful; the table could be beneath an outer join, in which case
|
||||
* it must go to NULL whenever the rest of the row does.
|
||||
* careful; the table could be beneath an outer join, in which case it
|
||||
* must go to NULL whenever the rest of the row does.
|
||||
*/
|
||||
Oid fetchval = 0;
|
||||
Oid fetchval = 0;
|
||||
|
||||
if (varattno == TableOidAttributeNumber)
|
||||
{
|
||||
@ -1633,10 +1633,10 @@ deparseColumnRef(StringInfo buf, int varno, int varattno, PlannerInfo *root,
|
||||
0 - FirstLowInvalidHeapAttributeNumber);
|
||||
|
||||
/*
|
||||
* In case the whole-row reference is under an outer join then it has to
|
||||
* go NULL whenver the rest of the row goes NULL. Deparsing a join query
|
||||
* would always involve multiple relations, thus qualify_col would be
|
||||
* true.
|
||||
* In case the whole-row reference is under an outer join then it has
|
||||
* to go NULL whenver the rest of the row goes NULL. Deparsing a join
|
||||
* query would always involve multiple relations, thus qualify_col
|
||||
* would be true.
|
||||
*/
|
||||
if (qualify_col)
|
||||
{
|
||||
@ -1652,7 +1652,7 @@ deparseColumnRef(StringInfo buf, int varno, int varattno, PlannerInfo *root,
|
||||
|
||||
/* Complete the CASE WHEN statement started above. */
|
||||
if (qualify_col)
|
||||
appendStringInfo(buf," END");
|
||||
appendStringInfo(buf, " END");
|
||||
|
||||
heap_close(rel, NoLock);
|
||||
bms_free(attrs_used);
|
||||
|
Reference in New Issue
Block a user