From 92c4dafe1eed511c5af92bcea5311cf627673377 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 4 Dec 2022 14:25:53 -0500 Subject: [PATCH] Re-pgindent a few files. Just because I'm a neatnik, and I'm currently working on code in this area. It annoys me to not be able to pgindent my patches without working around unrelated changes. --- src/backend/optimizer/plan/setrefs.c | 4 ++-- src/backend/utils/adt/selfuncs.c | 2 +- src/include/nodes/parsenodes.h | 4 ++-- src/include/nodes/plannodes.h | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/backend/optimizer/plan/setrefs.c b/src/backend/optimizer/plan/setrefs.c index e67f0e3509..399c1812d4 100644 --- a/src/backend/optimizer/plan/setrefs.c +++ b/src/backend/optimizer/plan/setrefs.c @@ -349,10 +349,10 @@ set_plan_references(PlannerInfo *root, Plan *plan) } /* Also fix up the information in PartitionPruneInfos. */ - foreach (lc, root->partPruneInfos) + foreach(lc, root->partPruneInfos) { PartitionPruneInfo *pruneinfo = lfirst(lc); - ListCell *l; + ListCell *l; pruneinfo->root_parent_relids = offset_relid_set(pruneinfo->root_parent_relids, rtoffset); diff --git a/src/backend/utils/adt/selfuncs.c b/src/backend/utils/adt/selfuncs.c index db21cf3c35..48858a871a 100644 --- a/src/backend/utils/adt/selfuncs.c +++ b/src/backend/utils/adt/selfuncs.c @@ -5416,7 +5416,7 @@ examine_simple_variable(PlannerInfo *root, Var *var, * onerel->userid if it's set, in case we're accessing the table * via a view. */ - userid = OidIsValid(onerel->userid) ? onerel->userid : GetUserId(); + userid = OidIsValid(onerel->userid) ? onerel->userid : GetUserId(); vardata->acl_ok = rte->securityQuals == NIL && diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 6112cd85c8..f17846e30e 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -95,8 +95,8 @@ typedef uint64 AclMode; /* a bitmask of privilege bits */ #define ACL_CONNECT (1<<11) /* for databases */ #define ACL_SET (1<<12) /* for configuration parameters */ #define ACL_ALTER_SYSTEM (1<<13) /* for configuration parameters */ -#define ACL_VACUUM (1<<14) /* for relations */ -#define ACL_ANALYZE (1<<15) /* for relations */ +#define ACL_VACUUM (1<<14) /* for relations */ +#define ACL_ANALYZE (1<<15) /* for relations */ #define N_ACL_RIGHTS 16 /* 1 plus the last 1<