1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +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

@ -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);