]> granicus.if.org Git - postgresql/commit
Fix pg_dump's failure to dump REPLICA IDENTITY for constraint indexes.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Jul 2018 16:35:49 +0000 (12:35 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Jul 2018 16:35:49 +0000 (12:35 -0400)
commit96b1d984feab268131dfd09dd7a1048dd221094f
treebd2e36581c94627fc6963bf811165a30037f60cb
parent406df42a5f6d7139df50f190cb7845418f9c0cfa
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
src/bin/pg_dump/pg_dump.c