Add --exclude-database option to pg_dumpall
Andrew Dunstan <andrew@dunslane.net>
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/43a54a47-4aa7-c70e-9ca6-648f436dd6e6@2ndQuadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_dumpall.sgml | modified | +21 −0 |
| src/bin/pg_dump/pg_dumpall.c | modified | +78 −0 |
| src/bin/pg_dump/pg_dump.c | modified | +2 −1 |
| src/bin/pg_dump/t/001_basic.pl | modified | +12 −1 |
| src/bin/pg_dump/t/002_pg_dump.pl | modified | +11 −0 |
Documentation touched
Discussion
- pg_dumpall --exclude-database option 25 messages · 2018-08-03 → 2019-02-01