Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92c4daf

Browse files
committed
Re-pgindent a few files.
Just because I'm a neatnik, and I'm currently working oncode in this area. It annoys me to not be able to pgindentmy patches without working around unrelated changes.
1 parente769138 commit92c4daf

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
#defineACL_CONNECT(1<<11)/* for databases */
9696
#defineACL_SET(1<<12)/* for configuration parameters */
9797
#defineACL_ALTER_SYSTEM (1<<13)/* for configuration parameters */
98-
#defineACL_VACUUM(1<<14)/* for relations */
99-
#defineACL_ANALYZE(1<<15)/* for relations */
98+
#defineACL_VACUUM(1<<14)/* for relations */
99+
#defineACL_ANALYZE(1<<15)/* for relations */
100100
#defineN_ACL_RIGHTS16/* 1 plus the last 1<<x */
101101
#defineACL_NO_RIGHTS0
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
structPlan*planTree;/* tree of Plan nodes */
7272

73-
List*partPruneInfos;/* List of PartitionPruneInfo contained in
74-
*theplan */
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)

[8]ページ先頭

©2009-2025 Movatter.jp