pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix possible crash in ALTER TABLE ... REPLICA IDENTITY USING IND
3+ messages / 1 participants
[nested] [flat]

* pgsql: Fix possible crash in ALTER TABLE ... REPLICA IDENTITY USING IND
@ 2016-04-15 16:11 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2016-04-15 16:11 UTC (permalink / raw)
  To: pgsql-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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8f1911d5e6d5a1e62c860ddb040d664b01c6415c

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


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix possible crash in ALTER TABLE ... REPLICA IDENTITY USING IND
@ 2016-04-15 16:11 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2016-04-15 16:11 UTC (permalink / raw)
  To: pgsql-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_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8f8e65d348af7aa6899eb722dddeb6b88c682769

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


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix possible crash in ALTER TABLE ... REPLICA IDENTITY USING IND
@ 2016-04-15 16:11 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2016-04-15 16:11 UTC (permalink / raw)
  To: pgsql-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


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-04-15 16:11 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-04-15 16:11 pgsql: Fix possible crash in ALTER TABLE ... REPLICA IDENTITY USING IND Tom Lane <tgl@sss.pgh.pa.us>
2016-04-15 16:11 pgsql: Fix possible crash in ALTER TABLE ... REPLICA IDENTITY USING IND Tom Lane <tgl@sss.pgh.pa.us>
2016-04-15 16:11 pgsql: Fix possible crash in ALTER TABLE ... REPLICA IDENTITY USING IND Tom Lane <tgl@sss.pgh.pa.us>

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