pgsql: Fix pg_dump's failure to dump REPLICA IDENTITY for constraint in

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix pg_dump's failure to dump REPLICA IDENTITY for constraint in
Date: 2018-07-30 16:36:07
Message-ID: E1fkB9T-0006Za-Ma@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pg_dump's failure to dump REPLICA IDENTITY for constraint indexes.

pg_dump knew about printing ALTER TABLE ... REPLICA IDENTITY USING INDEX
for indexes declared as indexes, but it failed to print that for indexes
declared as unique or primary-key constraints. Per report from Achilleas
Mantzios.

This has been broken since the feature was introduced, AFAICS.
Back-patch to 9.4.

Discussion: https://postgr.es/m/1e6cc5ad-b84a-7c07-8c08-a4d0c3cdc938@matrix.gatewaynet.com

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8c7f64b0ed32b8b7d62055efc153ddd17b4a8334

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-07-30 20:12:41 pgsql: doc: Improve CREATE COLLATION locking documentation
Previous Message Michael Goldshteyn 2018-07-30 16:28:28 Re: Would like to help with documentation for Postgres 11