pgsql: Ignore publication tables when --no-publications is used

Started by Michael Paquieralmost 8 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

Ignore publication tables when --no-publications is used

96e1cb4 has added support for --no-publications in pg_dump, pg_dumpall
and pg_restore, but forgot the fact that publication tables also need to
be ignored when this option is used.

Author: Gilles Darold
Reviewed-by: Michael Paquier
Discussion: /messages/by-id/3f48e812-b0fa-388e-2043-9a176bdee27e@dalibo.com
Backpatch-through: 10, where publications have been added.

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/55a586ba9715b044d7b23a2f60dc003ddcf9239a

Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 9 +++++++--
src/bin/pg_dump/pg_dump.c | 3 ++-
2 files changed, 9 insertions(+), 3 deletions(-)