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(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
