postgresql/src/bin/pg_dump
Stephen Frost 562f06f3f0 pg_dump only selected components of ACCESS METHODs
dumpAccessMethod() didn't get the memo that we now have a bitfield for
the components which should be dumped instead of a simple boolean.

Correct that by checking if the relevant bit is set for each component
being dumped out (and not dumping it out if it isn't set).

This corrects an issue where CREATE ACCESS METHOD commands were being
included in non-binary-upgrades when an extension included an access
method (as the bloom extensions does).

Also add a regression test to make sure that we only dump out the
ACCESS METHOD commands, when they are part of an extension, when doing
a binary upgrade.

Pointed out by Thom Brown.
2016-06-07 09:56:02 -04:00
..
po Translation updates 2016-05-09 10:04:41 -04:00
t Do not DROP default roles in pg_dumpall -c 2016-05-24 23:31:55 -04:00
.gitignore Clean up after pg_dump test runs. 2016-05-06 22:28:01 -04:00
common.c In pg_dump, use a bitmap to represent what to include 2016-04-06 21:45:32 -04:00
compress_io.c Redesign handling of SIGTERM/control-C in parallel pg_dump/pg_restore. 2016-06-02 13:28:17 -04:00
compress_io.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
dumputils.c Fix various common mispellings. 2016-06-03 16:08:45 +01:00
dumputils.h In pg_dump, include pg_catalog and extension ACLs, if changed 2016-04-06 21:45:32 -04:00
Makefile Clean up after pg_dump test runs. 2016-05-06 22:28:01 -04:00
nls.mk Translation updates 2016-05-09 10:04:41 -04:00
parallel.c Suppress -Wunused-result warnings about write(), again. 2016-06-03 11:29:38 -04:00
parallel.h Redesign handling of SIGTERM/control-C in parallel pg_dump/pg_restore. 2016-06-02 13:28:17 -04:00
pg_backup_archiver.c Redesign handling of SIGTERM/control-C in parallel pg_dump/pg_restore. 2016-06-02 13:28:17 -04:00
pg_backup_archiver.h Redesign handling of SIGTERM/control-C in parallel pg_dump/pg_restore. 2016-06-02 13:28:17 -04:00
pg_backup_custom.c pg_dump: Fix inconsistent sscanf() conversions 2016-02-18 20:12:38 -05:00
pg_backup_db.c Redesign handling of SIGTERM/control-C in parallel pg_dump/pg_restore. 2016-06-02 13:28:17 -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 Redesign handling of SIGTERM/control-C in parallel pg_dump/pg_restore. 2016-06-02 13:28:17 -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 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.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 Clean up thread management in parallel pg_dump for Windows. 2016-05-27 12:02:09 -04:00
pg_backup_utils.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
pg_backup.h Make pg_dump error cleanly with -j against hot standby 2016-05-26 22:14:23 +02:00
pg_dump_sort.c Fix improper usage of 'dump' bitmap 2016-04-08 16:30:02 -04:00
pg_dump.c pg_dump only selected components of ACCESS METHODs 2016-06-07 09:56:02 -04:00
pg_dump.h Only issue LOCK TABLE commands when necessary 2016-05-06 14:06:50 -04:00
pg_dumpall.c Do not DROP default roles in pg_dumpall -c 2016-05-24 23:31:55 -04:00
pg_restore.c pg_dump: Message style improvements 2016-04-25 17:16:59 -04:00