Skip to content

Commit 9a6fbc2

Browse files
committed
Comment update for join pushdown.
Etsuro Fujita
1 parent 60fcee9 commit 9a6fbc2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/backend/optimizer/util/pathnode.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -1449,13 +1449,13 @@ create_worktablescan_path(PlannerInfo *root, RelOptInfo *rel,
14491449

14501450
/*
14511451
* create_foreignscan_path
1452-
* Creates a path corresponding to a scan of a foreign table,
1453-
* returning the pathnode.
1452+
* Creates a path corresponding to a scan of a foreign table or
1453+
* a foreign join, returning the pathnode.
14541454
*
14551455
* This function is never called from core Postgres; rather, it's expected
1456-
* to be called by the GetForeignPaths function of a foreign data wrapper.
1457-
* We make the FDW supply all fields of the path, since we do not have any
1458-
* way to calculate them in core.
1456+
* to be called by the GetForeignPaths or GetForeignJoinPaths function of
1457+
* a foreign data wrapper. We make the FDW supply all fields of the path,
1458+
* since we do not have any way to calculate them in core.
14591459
*/
14601460
ForeignPath *
14611461
create_foreignscan_path(PlannerInfo *root, RelOptInfo *rel,

0 commit comments

Comments
 (0)