pgsql: Various fixes around ON CONFLICT for rule deparsing.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Various fixes around ON CONFLICT for rule deparsing.
Дата
Msg-id E1YuowZ-0002Ng-U9@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Various fixes around ON CONFLICT for rule deparsing.

Neither the deparsing of the new alias for INSERT's target table, nor of
the inference clause was supported. Also fixup a typo in an error
message.

Add regression tests to test those code paths.

Author: Peter Geoghegan

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9bc77c45199c7d2e525cd5b1457d5a57f6e9edb0

Modified Files
--------------
src/backend/parser/parse_clause.c             |    2 +-
src/backend/utils/adt/ruleutils.c             |   79 ++++++++++++++++++++++++-
src/test/regress/expected/insert_conflict.out |    2 +-
src/test/regress/expected/rules.out           |   66 +++++++++++++++------
src/test/regress/sql/rules.sql                |   14 ++++-
5 files changed, 140 insertions(+), 23 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Change pg_seclabel.provider and pg_shseclabel.provider to type "
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Refactor ON CONFLICT index inference parse tree representation.