From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add --exclude-database option to pg_dumpall |
Date: | 2019-03-01 16:13:51 |
Message-ID: | E1gzknH-0008QJ-NY@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2019-03-01 16:43:40 | pgsql: Add extra descriptive headings in pg_dumpall |
Previous Message | Christoph Berg | 2019-03-01 13:12:15 | Re: pgsql: Build src/port files as a library with -fPIC, and use that in li |