[COMMITTERS] pgsql: Fix pg_dump's handling of event triggers. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Fix pg_dump's handling of event triggers.
Date
Msg-id E1dZ4dQ-00082S-VZ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix pg_dump's handling of event triggers.

pg_dump with the --clean option failed to emit DROP EVENT TRIGGER
commands for event triggers.  In a closely related oversight,
it also did not emit ALTER OWNER commands for event triggers.
Since only superusers can create event triggers, the latter oversight
is of little practical consequence ... but if we're going to record
an owner for event triggers, then surely pg_dump should preserve it.

Per complaint from Greg Atkins.  Back-patch to 9.3 where event triggers
were introduced.

Discussion: https://postgr.es/m/20170722191142.yi4e7tzcg3iacclg@gmail.com

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7debd9f79c98d059f38d524bb242e21433261e1e

Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c |  6 ++++--
src/bin/pg_dump/pg_dump.c            | 14 ++++++++++++--
2 files changed, 16 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Improve comments about partitioned hash table freelists.
Next
From: Noah Misch
Date:
Subject: [COMMITTERS] pgsql: MSVC: Accept tcl86.lib in addition to tcl86t.lib.