Comment update for join pushdown.
authorRobert Haas <[email protected]>
Tue, 29 Sep 2015 11:42:30 +0000 (07:42 -0400)
committerRobert Haas <[email protected]>
Tue, 29 Sep 2015 11:42:30 +0000 (07:42 -0400)
Etsuro Fujita

src/backend/optimizer/util/pathnode.c

index 935bc2b9667d33e7e8ddc9a7469b42ea0a2c0fdf..4336ca1b782fabadd1f96f38e95ab96a96079cbb 100644 (file)
@@ -1449,13 +1449,13 @@ create_worktablescan_path(PlannerInfo *root, RelOptInfo *rel,
 
 /*
  * create_foreignscan_path
- *       Creates a path corresponding to a scan of a foreign table,
- *       returning the pathnode.
+ *       Creates a path corresponding to a scan of a foreign table or
+ *       a foreign join, returning the pathnode.
  *
  * This function is never called from core Postgres; rather, it's expected
- * to be called by the GetForeignPaths function of a foreign data wrapper.
- * We make the FDW supply all fields of the path, since we do not have any
- * way to calculate them in core.
+ * to be called by the GetForeignPaths or GetForeignJoinPaths function of
+ * a foreign data wrapper.  We make the FDW supply all fields of the path,
+ * since we do not have any way to calculate them in core.
  */
 ForeignPath *
 create_foreignscan_path(PlannerInfo *root, RelOptInfo *rel,