Skip to content

Commit 92c4daf

Browse files
committed
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.
1 parent e769138 commit 92c4daf

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Diff for: src/backend/optimizer/plan/setrefs.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,10 @@ set_plan_references(PlannerInfo *root, Plan *plan)
349349
}
350350

351351
/* Also fix up the information in PartitionPruneInfos. */
352-
foreach (lc, root->partPruneInfos)
352+
foreach(lc, root->partPruneInfos)
353353
{
354354
PartitionPruneInfo *pruneinfo = lfirst(lc);
355-
ListCell *l;
355+
ListCell *l;
356356

357357
pruneinfo->root_parent_relids =
358358
offset_relid_set(pruneinfo->root_parent_relids, rtoffset);

Diff for: src/backend/utils/adt/selfuncs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -5416,7 +5416,7 @@ examine_simple_variable(PlannerInfo *root, Var *var,
54165416
* onerel->userid if it's set, in case we're accessing the table
54175417
* via a view.
54185418
*/
5419-
userid = OidIsValid(onerel->userid) ? onerel->userid : GetUserId();
5419+
userid = OidIsValid(onerel->userid) ? onerel->userid : GetUserId();
54205420

54215421
vardata->acl_ok =
54225422
rte->securityQuals == NIL &&

Diff for: src/include/nodes/parsenodes.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ typedef uint64 AclMode; /* a bitmask of privilege bits */
9595
#define ACL_CONNECT (1<<11) /* for databases */
9696
#define ACL_SET (1<<12) /* for configuration parameters */
9797
#define ACL_ALTER_SYSTEM (1<<13) /* for configuration parameters */
98-
#define ACL_VACUUM (1<<14) /* for relations */
99-
#define ACL_ANALYZE (1<<15) /* for relations */
98+
#define ACL_VACUUM (1<<14) /* for relations */
99+
#define ACL_ANALYZE (1<<15) /* for relations */
100100
#define N_ACL_RIGHTS 16 /* 1 plus the last 1<<x */
101101
#define ACL_NO_RIGHTS 0
102102
/* Currently, SELECT ... FOR [KEY] UPDATE/SHARE requires UPDATE privileges */

Diff for: src/include/nodes/plannodes.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ typedef struct PlannedStmt
7070

7171
struct Plan *planTree; /* tree of Plan nodes */
7272

73-
List *partPruneInfos; /* List of PartitionPruneInfo contained in
74-
* the plan */
73+
List *partPruneInfos; /* List of PartitionPruneInfo contained in the
74+
* plan */
7575

7676
List *rtable; /* list of RangeTblEntry nodes */
7777

0 commit comments

Comments
 (0)