pgsql: Attach ON CONFLICT SET ... WHERE to the correct planstate.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Attach ON CONFLICT SET ... WHERE to the correct planstate.
Дата
Msg-id E1YuUvn-0007QG-9f@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Attach ON CONFLICT SET ... WHERE to the correct planstate.

The previous coding was a leftover from attempting to hang all the on
conflict logic onto modify table's child nodes. It appears to not have
actually caused problems except for explain.

Add test exercising the broken and some other code paths.

Author: Peter Geoghegan and Andres Freund

Branch
------
master

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

Modified Files
--------------
src/backend/executor/nodeModifyTable.c        |    2 +-
src/test/regress/expected/insert_conflict.out |   16 ++++++++++++++++
src/test/regress/sql/insert_conflict.sql      |    2 ++
3 files changed, 19 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Separate block sampling functions
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Change pg_seclabel.provider and pg_shseclabel.provider to type "