-
- Downloads
Allow callers of create_foreignscan_path to specify nondefault PathTarget.
Although the default choice of rel->reltarget should typically be sufficient for scan or join paths, it's not at all sufficient for the purposes PathTargets were invented for; in particular not for upper-relation Paths. So break API compatibility by adding a PathTarget argument to create_foreignscan_path(). To ease updating of existing code, accept a NULL value of the argument as selecting rel->reltarget.
Showing
- contrib/file_fdw/file_fdw.c 1 addition, 0 deletionscontrib/file_fdw/file_fdw.c
- contrib/postgres_fdw/postgres_fdw.c 4 additions, 0 deletionscontrib/postgres_fdw/postgres_fdw.c
- src/backend/optimizer/util/pathnode.c 5 additions, 2 deletionssrc/backend/optimizer/util/pathnode.c
- src/include/optimizer/pathnode.h 1 addition, 0 deletionssrc/include/optimizer/pathnode.h
Loading
Please register or sign in to comment