pgsql: postgres_fdw: Avoid possible misbehavior when RETURNING tableoid

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: postgres_fdw: Avoid possible misbehavior when RETURNING tableoid
Дата
Msg-id E1aRX3u-0000oe-B2@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
postgres_fdw: Avoid possible misbehavior when RETURNING tableoid column only.

deparseReturningList ended up adding up RETURNING NULL to the code, but
code elsewhere saw an empty list of attributes and concluded that it
should not expect tuples from the remote side.

Etsuro Fujita and Robert Haas, reviewed by Thom Brown

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d160e2a343996030804cc6b74cc5a0b133dae950

Modified Files
--------------
contrib/postgres_fdw/deparse.c                 | 18 +++++----
contrib/postgres_fdw/expected/postgres_fdw.out | 53 ++++++++++++++++++++++++++
contrib/postgres_fdw/sql/postgres_fdw.sql      |  9 +++++
3 files changed, 73 insertions(+), 7 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: postgres_fdw: Avoid possible misbehavior when RETURNING tableoid
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: postgres_fdw: pgindent run.