aboutsummaryrefslogtreecommitdiff
path: root/src/backend/optimizer/util/relnode.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-04-06 11:34:02 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-04-06 11:34:02 -0400
commitde94e2af184e25576b13cbda8cf825118835d1cd (patch)
treed230afdbb5a4d1f79778107020f4bd2992a4bc71 /src/backend/optimizer/util/relnode.c
parentd25379eb23383f1d2f969e65e0332b47c19aea94 (diff)
downloadpostgresql-de94e2af184e25576b13cbda8cf825118835d1cd.tar.gz
postgresql-de94e2af184e25576b13cbda8cf825118835d1cd.zip
Run pgindent on a batch of (mostly-planner-related) source files.
Getting annoyed at the amount of unrelated chatter I get from pgindent'ing Rowley's unique-joins patch. Re-indent all the files it touches.
Diffstat (limited to 'src/backend/optimizer/util/relnode.c')
-rw-r--r--src/backend/optimizer/util/relnode.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/optimizer/util/relnode.c b/src/backend/optimizer/util/relnode.c
index 6f24b031e44..802eab3718a 100644
--- a/src/backend/optimizer/util/relnode.c
+++ b/src/backend/optimizer/util/relnode.c
@@ -175,8 +175,8 @@ build_simple_rel(PlannerInfo *root, int relid, RelOptKind reloptkind)
/*
* This should match what ExecCheckRTEPerms() does.
*
- * Note that if the plan ends up depending on the user OID in any
- * way - e.g. if it depends on the computed user mapping OID - we must
+ * Note that if the plan ends up depending on the user OID in any way
+ * - e.g. if it depends on the computed user mapping OID - we must
* ensure that it gets invalidated in the case of a user OID change.
* See RevalidateCachedQuery and more generally the hasForeignJoin
* flags in PlannerGlobal and PlannedStmt.
@@ -185,7 +185,7 @@ build_simple_rel(PlannerInfo *root, int relid, RelOptKind reloptkind)
* InvalidOid even though rel->serverid is set. That just means there
* is a server with no user mapping.
*/
- Oid userid;
+ Oid userid;
userid = OidIsValid(rte->checkAsUser) ? rte->checkAsUser : GetUserId();
rel->umid = GetUserMappingId(userid, rel->serverid, true);
@@ -434,16 +434,16 @@ build_join_rel(PlannerInfo *root,
/*
* Set up foreign-join fields if outer and inner relation are foreign
- * tables (or joins) belonging to the same server and using the same
- * user mapping.
+ * tables (or joins) belonging to the same server and using the same user
+ * mapping.
*
* Otherwise those fields are left invalid, so FDW API will not be called
* for the join relation.
*
* For FDWs like file_fdw, which ignore user mapping, the user mapping id
* associated with the joining relation may be invalid. A valid serverid
- * distinguishes between a pushed down join with no user mapping and
- * a join which can not be pushed down because of user mapping mismatch.
+ * distinguishes between a pushed down join with no user mapping and a
+ * join which can not be pushed down because of user mapping mismatch.
*/
if (OidIsValid(outer_rel->serverid) &&
inner_rel->serverid == outer_rel->serverid &&