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-0006ZU-LL@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c0a552921b0f5f22ac982b5ad24f1df4fd8ca1b1

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)

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