Re: Cannot dump foreign key constraints on partitioned table
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: amul sul <sulamul@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-07-12T18:45:37Z
Lists: pgsql-hackers
Attachments
- 0001-Dump-foreign-keys-on-partitioned-tables.patch (text/plain)
On 2018-Jul-12, Michael Paquier wrote: > Changing pg_class.relhastriggers is out of scope because as far as I > know partitioned tables have no triggers, so the current value is > correct, and that would be a catalog change at this stage which would > cause any existing deployments of v11 to complain about the > inconsistency. I think that this should be fixed client-side as the > attached does. Thanks, looks good. I propose to add following pg_dump test to ensure this stays fixed. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Dump foreign keys on partitioned tables
- 2af39c39df94 11.0 landed
- 93ad00c968ae 12.0 landed