1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00

postgres_fdw: Cosmetic cleanup.

Etsuro Fujita
This commit is contained in:
Robert Haas
2016-08-24 16:29:10 -04:00
parent 2c00fad286
commit dcb7a54bd1
2 changed files with 6 additions and 4 deletions

View File

@ -939,7 +939,7 @@ deparseTargetList(StringInfo buf,
}
/*
* Deparse the appropriate locking clause (FOR SELECT or FOR SHARE) for a
* Deparse the appropriate locking clause (FOR UPDATE or FOR SHARE) for a
* given relation (context->foreignrel).
*/
static void
@ -1163,7 +1163,7 @@ deparseFromExprForRel(StringInfo buf, PlannerInfo *root, RelOptInfo *foreignrel,
/*
* For a join relation FROM clause entry is deparsed as
*
* ((outer relation) <join type> (inner relation) ON (joinclauses)
* ((outer relation) <join type> (inner relation) ON (joinclauses))
*/
appendStringInfo(buf, "(%s %s JOIN %s ON ", join_sql_o.data,
get_jointype_name(fpinfo->jointype), join_sql_i.data);