]> granicus.if.org Git - postgresql/commitdiff
Cosmetic fix in postgres_fdw.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 Jan 2018 16:53:59 +0000 (11:53 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 Jan 2018 16:53:59 +0000 (11:53 -0500)
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

contrib/postgres_fdw/postgres_fdw.c

index 7992ba58529c41f7d363c0bccd78af2aaa008fed..c6e1211f8f60c4be0f996b2534b7e5c463dc1cf7 100644 (file)
@@ -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);