aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2021-07-16 17:29:22 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2021-07-16 17:29:22 -0400
commit5992c94dc7e4782760094a13be632a39ba4beffd (patch)
tree7e669337e280506a0d6e54c5b3cdc6b121928116 /src/tutorial/syscat.source
parent7584ec1f60980ee855aa34d8159f7f9cddc289af (diff)
downloadpostgresql-5992c94dc7e4782760094a13be632a39ba4beffd.tar.gz
postgresql-5992c94dc7e4782760094a13be632a39ba4beffd.zip
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 b9b408c48724 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
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions