aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-09-29 07:42:30 -0400
committerRobert Haas <rhaas@postgresql.org>2015-09-29 07:50:36 -0400
commit9a6fbc2ac709aa8152e6d5d44a107d2d7c67b6f4 (patch)
tree03f88c61c1b54ca5e3a23f1b9fa27190b17d6fa3 /src
parent60fcee9e5e77dc748a9787fae34328917683b95e (diff)
downloadpostgresql-9a6fbc2ac709aa8152e6d5d44a107d2d7c67b6f4.tar.gz
postgresql-9a6fbc2ac709aa8152e6d5d44a107d2d7c67b6f4.zip
Comment update for join pushdown.
Etsuro Fujita
Diffstat (limited to 'src')
-rw-r--r--src/backend/optimizer/util/pathnode.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c
index 935bc2b9667..4336ca1b782 100644
--- a/src/backend/optimizer/util/pathnode.c
+++ b/src/backend/optimizer/util/pathnode.c
@@ -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,