From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix deparsing of ON CONFLICT arbiter WHERE clauses.
Date: Sun, 07 Feb 2016 19:57:34 +0000
Message-ID: <E1aSVSg-0002fl-4q@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
------
REL9_5_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/82406d6ff1aa9f2e77536d91492a2d2b7e20b5c7
Modified Files
--------------
src/backend/utils/adt/ruleutils.c | 19 ++++++++++++++++---
src/test/regress/expected/rules.out | 4 ++--
2 files changed, 18 insertions(+), 5 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix deparsing of ON CONFLICT arbiter WHERE clauses.
In-Reply-To: <E1aSVSg-0002fl-4q@gemulon.postgresql.org>
References: <E1aSVSg-0002fl-4q@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox