mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
pgindent run for 8.3.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/optimizer/util/relnode.c,v 1.87 2007/04/21 21:01:45 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/optimizer/util/relnode.c,v 1.88 2007/11/15 21:14:36 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -32,9 +32,9 @@ typedef struct JoinHashEntry
|
||||
static void build_joinrel_tlist(PlannerInfo *root, RelOptInfo *joinrel,
|
||||
RelOptInfo *input_rel);
|
||||
static List *build_joinrel_restrictlist(PlannerInfo *root,
|
||||
RelOptInfo *joinrel,
|
||||
RelOptInfo *outer_rel,
|
||||
RelOptInfo *inner_rel);
|
||||
RelOptInfo *joinrel,
|
||||
RelOptInfo *outer_rel,
|
||||
RelOptInfo *inner_rel);
|
||||
static void build_joinrel_joinlist(RelOptInfo *joinrel,
|
||||
RelOptInfo *outer_rel,
|
||||
RelOptInfo *inner_rel);
|
||||
@ -510,8 +510,9 @@ build_joinrel_restrictlist(PlannerInfo *root,
|
||||
*/
|
||||
result = subbuild_joinrel_restrictlist(joinrel, outer_rel->joininfo, NIL);
|
||||
result = subbuild_joinrel_restrictlist(joinrel, inner_rel->joininfo, result);
|
||||
|
||||
/*
|
||||
* Add on any clauses derived from EquivalenceClasses. These cannot be
|
||||
* Add on any clauses derived from EquivalenceClasses. These cannot be
|
||||
* redundant with the clauses in the joininfo lists, so don't bother
|
||||
* checking.
|
||||
*/
|
||||
@ -599,10 +600,10 @@ subbuild_joinrel_joinlist(RelOptInfo *joinrel,
|
||||
{
|
||||
/*
|
||||
* This clause is still a join clause at this level, so add it to
|
||||
* the new joininfo list, being careful to eliminate
|
||||
* duplicates. (Since RestrictInfo nodes in different joinlists
|
||||
* will have been multiply-linked rather than copied, pointer
|
||||
* equality should be a sufficient test.)
|
||||
* the new joininfo list, being careful to eliminate duplicates.
|
||||
* (Since RestrictInfo nodes in different joinlists will have been
|
||||
* multiply-linked rather than copied, pointer equality should be
|
||||
* a sufficient test.)
|
||||
*/
|
||||
new_joininfo = list_append_unique_ptr(new_joininfo, rinfo);
|
||||
}
|
||||
|
Reference in New Issue
Block a user