mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
pgindent run for 8.3.
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/optimizer/prep/prepunion.c,v 1.144 2007/10/22 17:04:35 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/optimizer/prep/prepunion.c,v 1.145 2007/11/15 21:14:36 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -224,11 +224,11 @@ recurse_set_operations(Node *setOp, PlannerInfo *root,
|
||||
* output columns.
|
||||
*
|
||||
* XXX you don't really want to know about this: setrefs.c will apply
|
||||
* fix_upper_expr() to the Result node's tlist. This
|
||||
* would fail if the Vars generated by generate_setop_tlist() were not
|
||||
* exactly equal() to the corresponding tlist entries of the subplan.
|
||||
* However, since the subplan was generated by generate_union_plan()
|
||||
* or generate_nonunion_plan(), and hence its tlist was generated by
|
||||
* fix_upper_expr() to the Result node's tlist. This would fail if the
|
||||
* Vars generated by generate_setop_tlist() were not exactly equal()
|
||||
* to the corresponding tlist entries of the subplan. However, since
|
||||
* the subplan was generated by generate_union_plan() or
|
||||
* generate_nonunion_plan(), and hence its tlist was generated by
|
||||
* generate_append_tlist(), this will work. We just tell
|
||||
* generate_setop_tlist() to use varno 0.
|
||||
*/
|
||||
@ -972,8 +972,8 @@ make_inh_translation_lists(Relation oldrelation, Relation newrelation,
|
||||
* Otherwise we have to search for the matching column by name.
|
||||
* There's no guarantee it'll have the same column position, because
|
||||
* of cases like ALTER TABLE ADD COLUMN and multiple inheritance.
|
||||
* However, in simple cases it will be the same column number, so
|
||||
* try that before we go groveling through all the columns.
|
||||
* However, in simple cases it will be the same column number, so try
|
||||
* that before we go groveling through all the columns.
|
||||
*
|
||||
* Note: the test for (att = ...) != NULL cannot fail, it's just a
|
||||
* notational device to include the assignment into the if-clause.
|
||||
|
Reference in New Issue
Block a user