aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-08-24 16:29:10 -0400
committerRobert Haas <rhaas@postgresql.org>2016-08-24 16:29:10 -0400
commitdcb7a54bd1cdbf5cca9549e8485cd34a28c7cf87 (patch)
tree745e971fd3ecfc27dd4aea92ce9b57cc04ea6258 /contrib/postgres_fdw/postgres_fdw.c
parent2c00fad2864350508f666da1a2c04e0cbe9cbf58 (diff)
downloadpostgresql-dcb7a54bd1cdbf5cca9549e8485cd34a28c7cf87.tar.gz
postgresql-dcb7a54bd1cdbf5cca9549e8485cd34a28c7cf87.zip
postgres_fdw: Cosmetic cleanup.
Etsuro Fujita
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
-rw-r--r--contrib/postgres_fdw/postgres_fdw.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c
index 931bcfd37df..bfd81c46c86 100644
--- a/contrib/postgres_fdw/postgres_fdw.c
+++ b/contrib/postgres_fdw/postgres_fdw.c
@@ -484,7 +484,7 @@ postgresGetForeignRelSize(PlannerInfo *root,
fpinfo = (PgFdwRelationInfo *) palloc0(sizeof(PgFdwRelationInfo));
baserel->fdw_private = (void *) fpinfo;
- /* Base foreign tables need to be push down always. */
+ /* Base foreign tables need to be pushed down always. */
fpinfo->pushdown_safe = true;
/* Look up foreign-table catalog info. */
@@ -2637,7 +2637,9 @@ estimate_path_cost_size(PlannerInfo *root,
* rows.
*/
- /* Calculate the cost of clauses pushed down the foreign server */
+ /*
+ * Calculate the cost of clauses pushed down to the foreign server
+ */
cost_qual_eval(&remote_conds_cost, fpinfo->remote_conds, root);
/* Calculate the cost of applying join clauses */
cost_qual_eval(&join_cost, fpinfo->joinclauses, root);