pgsql: Fix deparsing of ON CONFLICT arbiter WHERE clauses. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix deparsing of ON CONFLICT arbiter WHERE clauses.
Date
Msg-id E1aSVSg-0002fk-4n@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix deparsing of ON CONFLICT arbiter WHERE clauses.
Next
From: Tom Lane
Date:
Subject: pgsql: Improve documentation about PRIMARY KEY constraints.