]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Re-pgindent a few files.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Dec 2022 19:25:53 +0000 (14:25 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Dec 2022 19:25:53 +0000 (14:25 -0500)
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
src/backend/utils/adt/selfuncs.c
src/include/nodes/parsenodes.h
src/include/nodes/plannodes.h

index e67f0e3509b0be33617cb605cf3ab27c0d74e1b3..399c1812d40354e150cee1e2b80d31086dab22b5 100644 (file)
@@ -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);
index db21cf3c355a7c495b6f3f9f1131a9d529d7dbf6..48858a871af3e5e7bc8a2ff5df6a55f1134bbd31 100644 (file)
@@ -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 &&
index 6112cd85c848c3e384a6d0ae6dcb74e141732717..f17846e30e22bb0c4ed45532b54a7d60acd0dc55 100644 (file)
@@ -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<<x */
 #define ACL_NO_RIGHTS  0
 /* Currently, SELECT ... FOR [KEY] UPDATE/SHARE requires UPDATE privileges */
index 2e202892a7169722dffc9b78a6de5a51151f24ba..c36a15bd09d3b69b50fe0e7cbd8512703f7c213f 100644 (file)
@@ -70,8 +70,8 @@ typedef struct PlannedStmt
 
        struct Plan *planTree;          /* tree of Plan nodes */
 
-       List       *partPruneInfos;     /* List of PartitionPruneInfo contained in
-                                                                * the plan */
+       List       *partPruneInfos; /* List of PartitionPruneInfo contained in the
+                                                                * plan */
 
        List       *rtable;                     /* list of RangeTblEntry nodes */