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

src/backend/optimizer/plan/setrefs.c

Lines changed: 2 additions & 2 deletions
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);

src/backend/utils/adt/selfuncs.c

Lines changed: 1 addition & 1 deletion
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 &&

src/include/nodes/parsenodes.h

Lines changed: 2 additions & 2 deletions
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 */

src/include/nodes/plannodes.h

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy