Fix deparsing of ON CONFLICT arbiter WHERE clauses.
The parser doesn't allow qualification of column names appearing in
these clauses, but ruleutils.c would sometimes qualify them, leading
to dump/reload failures. Per bug #13891 from Onder Kalaci.
(In passing, make stanzas in ruleutils.c that save/restore varprefix
more consistent.)
Peter Geoghegan
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/cc2ca9319a5dbe89ea47d87944650e65e3bb4ce8
Modified Files
--------------
src/backend/utils/adt/ruleutils.c | 19 ++++++++++++++++---
src/test/regress/expected/rules.out | 4 ++--
2 files changed, 18 insertions(+), 5 deletions(-)