pgsql: Fix pg_dump for disabled triggers on partitioned tables

2021-07-16 Thread Alvaro Herrera
Fix pg_dump for disabled triggers on partitioned tables pg_dump failed to preserve the 'enabled' flag (which can be not only disabled, but also REPLICA or ALWAYS) for partitions which had it changed from their respective parents. Attempt to handle that by including a definition for such triggers

pgsql: Fix pg_dump for disabled triggers on partitioned tables

2021-07-16 Thread Alvaro Herrera
Fix pg_dump for disabled triggers on partitioned tables pg_dump failed to preserve the 'enabled' flag (which can be not only disabled, but also REPLICA or ALWAYS) for partitions which had it changed from their respective parents. Attempt to handle that by including a definition for such triggers

pgsql: Fix pg_dump for disabled triggers on partitioned tables

2021-07-16 Thread Alvaro Herrera
Fix pg_dump for disabled triggers on partitioned tables pg_dump failed to preserve the 'enabled' flag (which can be not only disabled, but also REPLICA or ALWAYS) for partitions which had it changed from their respective parents. Attempt to handle that by including a definition for such triggers

pgsql: Fix pg_dump for disabled triggers on partitioned tables

2021-07-16 Thread Alvaro Herrera
Fix pg_dump for disabled triggers on partitioned tables pg_dump failed to preserve the 'enabled' flag (which can be not only disabled, but also REPLICA or ALWAYS) for partitions which had it changed from their respective parents. Attempt to handle that by including a definition for such triggers

pgsql: Fix pg_dump for disabled triggers on partitioned tables

2021-07-16 Thread Alvaro Herrera
Fix pg_dump for disabled triggers on partitioned tables pg_dump failed to preserve the 'enabled' flag (which can be not only disabled, but also REPLICA or ALWAYS) for partitions which had it changed from their respective parents. Attempt to handle that by including a definition for such triggers