aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-01-11 11:53:59 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-01-11 11:53:59 -0500
commit9ff4f758ee430dbce0be13ab5da315be52cb6f55 (patch)
tree255a5bf0f31ea9237ab56e68c7f7b1bfd7011f21 /contrib/postgres_fdw/postgres_fdw.c
parentca454b9bd34c75995eda4d07c9858f7c22890c2b (diff)
downloadpostgresql-9ff4f758ee430dbce0be13ab5da315be52cb6f55.tar.gz
postgresql-9ff4f758ee430dbce0be13ab5da315be52cb6f55.zip
Cosmetic fix in postgres_fdw.c.
Make the forward declaration of estimate_path_cost_size match its actual definition. Tatsuro Yamada Discussion: https://postgr.es/m/96f2f554-1eeb-fe6f-e0db-650771886781@lab.ntt.co.jp
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
-rw-r--r--contrib/postgres_fdw/postgres_fdw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c
index 7992ba58529..c6e1211f8f6 100644
--- a/contrib/postgres_fdw/postgres_fdw.c
+++ b/contrib/postgres_fdw/postgres_fdw.c
@@ -353,8 +353,8 @@ static void postgresGetForeignUpperPaths(PlannerInfo *root,
* Helper functions
*/
static void estimate_path_cost_size(PlannerInfo *root,
- RelOptInfo *baserel,
- List *join_conds,
+ RelOptInfo *foreignrel,
+ List *param_join_conds,
List *pathkeys,
double *p_rows, int *p_width,
Cost *p_startup_cost, Cost *p_total_cost);