From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix possible crash in ALTER TABLE ... REPLICA IDENTITY USING IND
Date: Fri, 15 Apr 2016 16:11:54 +0000
Message-ID: <E1ar6La-00027v-HG@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Fix possible crash in ALTER TABLE ... REPLICA IDENTITY USING INDEX.
Careless coding added by commit 07cacba983ef79be could result in a crash
or a bizarre error message if someone tried to select an index on the
OID column as the replica identity index for a table. Back-patch to 9.4
where the feature was introduced.
Discussion: CAKJS1f8TQYgTRDyF1_u9PVCKWRWz+DkieH=U7954HeHVPJKaKg@mail.gmail.com
David Rowley
Branch
------
REL9_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/8eed31ffb84cda04cb20f3e780213c17f9f3223f
Modified Files
--------------
src/backend/commands/tablecmds.c | 18 ++++++++++++++----
src/test/regress/expected/replica_identity.out | 9 ++++++++-
src/test/regress/sql/replica_identity.sql | 6 +++++-
3 files changed, 27 insertions(+), 6 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 possible crash in ALTER TABLE ... REPLICA IDENTITY USING IND
In-Reply-To: <E1ar6La-00027v-HG@gemulon.postgresql.org>
References: <E1ar6La-00027v-HG@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