]> 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)
commitf6ef3ed43669350e0d5fd5a02ae3be6ec150a64e
tree288fc477c654d0aa9b61235b4a451636f031ef90
parent506bbbf02e8c045b6d35dc3b0083e5a12f7b3837
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