Ignore publication tables when --no-publications is used

Michael Paquier <michael@paquier.xyz>

Commit: 55a586ba9715b044d7b23a2f60dc003ddcf9239a
Author: Michael Paquier <michael@paquier.xyz>
Date: 2018-09-25T02:05:29Z
Releases: 10.6
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: https://postgr.es/m/3f48e812-b0fa-388e-2043-9a176bdee27e@dalibo.com
Backpatch-through: 10, where publications have been added.

Files

PathChange+/−
src/bin/pg_dump/pg_backup_archiver.c modified +7 −2
src/bin/pg_dump/pg_dump.c modified +2 −1

Discussion