pgsql: Allow callers of create_foreignscan_path to specify nondefault P

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Allow callers of create_foreignscan_path to specify nondefault P
Дата
Msg-id E1afa5P-0001Xr-It@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/28048cbaa285b8ac46940e4b39f985d9885fc698

Modified Files
--------------
contrib/file_fdw/file_fdw.c           | 1 +
contrib/postgres_fdw/postgres_fdw.c   | 4 ++++
src/backend/optimizer/util/pathnode.c | 7 +++++--
src/include/optimizer/pathnode.h      | 1 +
4 files changed, 11 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Rethink representation of PathTargets.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Provide a planner hook at a suitable place for creating upper-re