pgsql: Fix pg_dump's failure to dump REPLICA IDENTITY for constraintin
pgsql: Fix pg_dump's failure to dump REPLICA IDENTITY for constraintin
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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 ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/96b1d984feab268131dfd09dd7a1048dd221094f Modified Files -------------- src/bin/pg_dump/pg_dump.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)