mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
pgindent run for 9.4
This includes removing tabs after periods in C comments, which was applied to back branches, so this change should not effect backpatching.
This commit is contained in:
@ -165,7 +165,7 @@ pull_varnos_walker(Node *node, pull_varnos_context *context)
|
||||
* lower than that if it references only a subset of the rels in its
|
||||
* syntactic scope. It might also contain lateral references, but we
|
||||
* should ignore such references when computing the set of varnos in
|
||||
* an expression tree. Also, if the PHV contains no variables within
|
||||
* an expression tree. Also, if the PHV contains no variables within
|
||||
* its syntactic scope, it will be forced to be evaluated exactly at
|
||||
* the syntactic scope, so take that as the relid set.
|
||||
*/
|
||||
@ -364,7 +364,7 @@ contain_var_clause_walker(Node *node, void *context)
|
||||
*
|
||||
* Returns true if any such Var found.
|
||||
*
|
||||
* Will recurse into sublinks. Also, may be invoked directly on a Query.
|
||||
* Will recurse into sublinks. Also, may be invoked directly on a Query.
|
||||
*/
|
||||
bool
|
||||
contain_vars_of_level(Node *node, int levelsup)
|
||||
@ -424,10 +424,10 @@ contain_vars_of_level_walker(Node *node, int *sublevels_up)
|
||||
* Find the parse location of any Var of the specified query level.
|
||||
*
|
||||
* Returns -1 if no such Var is in the querytree, or if they all have
|
||||
* unknown parse location. (The former case is probably caller error,
|
||||
* unknown parse location. (The former case is probably caller error,
|
||||
* but we don't bother to distinguish it from the latter case.)
|
||||
*
|
||||
* Will recurse into sublinks. Also, may be invoked directly on a Query.
|
||||
* Will recurse into sublinks. Also, may be invoked directly on a Query.
|
||||
*
|
||||
* Note: it might seem appropriate to merge this functionality into
|
||||
* contain_vars_of_level, but that would complicate that function's API.
|
||||
@ -514,7 +514,7 @@ locate_var_of_level_walker(Node *node,
|
||||
* Upper-level vars (with varlevelsup > 0) should not be seen here,
|
||||
* likewise for upper-level Aggrefs and PlaceHolderVars.
|
||||
*
|
||||
* Returns list of nodes found. Note the nodes themselves are not
|
||||
* Returns list of nodes found. Note the nodes themselves are not
|
||||
* copied, only referenced.
|
||||
*
|
||||
* Does not examine subqueries, therefore must only be used after reduction
|
||||
@ -591,7 +591,7 @@ pull_var_clause_walker(Node *node, pull_var_clause_context *context)
|
||||
* flatten_join_alias_vars
|
||||
* Replace Vars that reference JOIN outputs with references to the original
|
||||
* relation variables instead. This allows quals involving such vars to be
|
||||
* pushed down. Whole-row Vars that reference JOIN relations are expanded
|
||||
* pushed down. Whole-row Vars that reference JOIN relations are expanded
|
||||
* into RowExpr constructs that name the individual output Vars. This
|
||||
* is necessary since we will not scan the JOIN as a base relation, which
|
||||
* is the only way that the executor can directly handle whole-row Vars.
|
||||
@ -603,7 +603,7 @@ pull_var_clause_walker(Node *node, pull_var_clause_context *context)
|
||||
* entries might now be arbitrary expressions, not just Vars. This affects
|
||||
* this function in one important way: we might find ourselves inserting
|
||||
* SubLink expressions into subqueries, and we must make sure that their
|
||||
* Query.hasSubLinks fields get set to TRUE if so. If there are any
|
||||
* Query.hasSubLinks fields get set to TRUE if so. If there are any
|
||||
* SubLinks in the join alias lists, the outer Query should already have
|
||||
* hasSubLinks = TRUE, so this is only relevant to un-flattened subqueries.
|
||||
*
|
||||
|
Reference in New Issue
Block a user