]> granicus.if.org Git - postgresql/commit
Fix pg_upgrade to handle event triggers in extensions correctly.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Aug 2018 19:43:49 +0000 (15:43 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 7 Aug 2018 19:43:49 +0000 (15:43 -0400)
commit92d5dd36ecf8a49e400d14bfc8b4e939b585ed2b
tree5d6f0b9477ce566f1c5259205ab4f11b387e6c26
parent6b6327d938ed61b45eb674912e63372cd349c4a3
Fix pg_upgrade to handle event triggers in extensions correctly.

pg_dump with --binary-upgrade must emit ALTER EXTENSION ADD commands
for all objects that are members of extensions.  It forgot to do so for
event triggers, as per bug #15310 from Nick Barnes.  Back-patch to 9.3
where event triggers were introduced.

Haribabu Kommi

Discussion: https://postgr.es/m/153360083872.1395.4593932457718151600@wrigleys.postgresql.org
src/bin/pg_dump/pg_dump.c