postgresql/src/bin
Alvaro Herrera 5992c94dc7
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 in the dump, but replace the
standard CREATE TRIGGER line with an ALTER TRIGGER line.

Backpatch to 11, where these triggers can exist.  In branches 11 and 12,
pick up a few test lines from commit b9b408c487 to verify that
pg_upgrade is okay with these arrangements.

Co-authored-by: Justin Pryzby <pryzby@telsasoft.com>
Co-authored-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/20200930223450.GA14848@telsasoft.com
2021-07-16 17:29:22 -04:00
..
initdb Work around portability issue with newer versions of mktime(). 2021-06-13 14:32:42 -04:00
pg_archivecleanup Translation updates 2020-11-09 12:36:44 +01:00
pg_basebackup Translation updates 2020-11-09 12:36:44 +01:00
pg_checksums pg_checksums: Fix progress reporting. 2021-04-03 00:08:05 +09:00
pg_config Translation updates 2020-11-09 12:36:44 +01:00
pg_controldata Translation updates 2020-11-09 12:36:44 +01:00
pg_ctl Avoid time-of-day-dependent failure in log rotation test. 2020-12-24 21:37:46 -05:00
pg_dump Fix pg_dump for disabled triggers on partitioned tables 2021-07-16 17:29:22 -04:00
pg_resetwal Translation updates 2020-11-09 12:36:44 +01:00
pg_rewind Translation updates 2021-02-08 17:50:22 +01:00
pg_test_fsync Translation updates 2020-08-10 15:21:18 +02:00
pg_test_timing Translation updates 2020-08-10 15:21:18 +02:00
pg_upgrade Clean up cpluspluscheck violation. 2021-05-20 13:03:09 -04:00
pg_waldump pg_waldump: Fix bug in per-record statistics. 2021-03-23 09:54:59 +09:00
pgbench Don't depend on -fwrapv semantics in pgbench's random() function. 2021-06-28 12:40:37 -04:00
pgevent Update copyright for 2019 2019-01-02 12:44:25 -05:00
psql Fix inconsistencies in psql --help=commands 2021-06-09 16:25:57 +09:00
scripts Fix incautious handling of possibly-miscoded strings in client code. 2021-06-07 14:15:25 -04:00
Makefile Rename pg_verify_checksums to pg_checksums 2019-03-13 10:43:20 +09:00