Add --exclude-database option to pg_dumpall This option functions similarly to pg_dump's --exclude-table option, but for database names. The option can be given once, and the argument can be a pattern including wildcard characters.
Author: Andrew Dunstan. Reviewd-by: Fabien Coelho and Michael Paquier Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f092de0503cd77a8463e7089c249d5e0586a120b Modified Files -------------- doc/src/sgml/ref/pg_dumpall.sgml | 21 +++++++++++ src/bin/pg_dump/pg_dump.c | 3 +- src/bin/pg_dump/pg_dumpall.c | 78 ++++++++++++++++++++++++++++++++++++++++ src/bin/pg_dump/t/001_basic.pl | 13 ++++++- src/bin/pg_dump/t/002_pg_dump.pl | 11 ++++++ 5 files changed, 124 insertions(+), 2 deletions(-)
