postgresql/src/bin/pg_dump
Tom Lane 93f039b494 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
2017-07-22 20:20:09 -04:00
..
po Translation updates 2017-07-10 11:53:55 -04:00
t Fix pg_dump's handling of event triggers. 2017-07-22 20:20:09 -04:00
.gitignore Clean up after pg_dump test runs. 2016-05-06 22:28:01 -04:00
Makefile Fix broken link-command-line ordering for libpgfeutils. 2017-07-14 12:26:53 -04:00
common.c Change the way pg_dump retrieves partitioning info 2017-05-04 22:17:52 -04:00
compress_io.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
compress_io.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
dumputils.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
dumputils.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
nls.mk Translation updates 2016-05-09 10:04:41 -04:00
parallel.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
parallel.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pg_backup.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pg_backup_archiver.c Fix pg_dump's handling of event triggers. 2017-07-22 20:20:09 -04:00
pg_backup_archiver.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pg_backup_custom.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
pg_backup_db.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
pg_backup_db.h Make pg_dump error cleanly with -j against hot standby 2016-05-26 22:14:23 +02:00
pg_backup_directory.c Sync pg_dump and pg_dumpall output 2017-03-22 10:20:13 -04:00
pg_backup_null.c Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
pg_backup_tar.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
pg_backup_tar.h Fix tar files emitted by pg_dump and pg_basebackup to be POSIX conformant. 2012-09-28 15:19:15 -04:00
pg_backup_utils.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
pg_backup_utils.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pg_dump.c Fix pg_dump's handling of event triggers. 2017-07-22 20:20:09 -04:00
pg_dump.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pg_dump_sort.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
pg_dumpall.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
pg_restore.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00