mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
pgindent run for 9.0
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/optimizer/util/restrictinfo.c,v 1.62 2010/01/02 16:57:48 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/optimizer/util/restrictinfo.c,v 1.63 2010/02/26 02:00:49 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -292,15 +292,15 @@ make_restrictinfos_from_actual_clauses(PlannerInfo *root,
|
||||
|
||||
foreach(l, clause_list)
|
||||
{
|
||||
Expr *clause = (Expr *) lfirst(l);
|
||||
bool pseudoconstant;
|
||||
Expr *clause = (Expr *) lfirst(l);
|
||||
bool pseudoconstant;
|
||||
RestrictInfo *rinfo;
|
||||
|
||||
/*
|
||||
* It's pseudoconstant if it contains no Vars and no volatile
|
||||
* functions. We probably can't see any sublinks here, so
|
||||
* contain_var_clause() would likely be enough, but for safety
|
||||
* use contain_vars_of_level() instead.
|
||||
* contain_var_clause() would likely be enough, but for safety use
|
||||
* contain_vars_of_level() instead.
|
||||
*/
|
||||
pseudoconstant =
|
||||
!contain_vars_of_level((Node *) clause, 0) &&
|
||||
|
||||
Reference in New Issue
Block a user