pgsql: Check existency of table/schema for -t/-n option (pg_dump/pg_res - Mailing list pgsql-committers

From Teodor Sigaev
Subject pgsql: Check existency of table/schema for -t/-n option (pg_dump/pg_res
Date
Msg-id E1ZbTfz-0000qc-Um@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Check existency of table/schema for -t/-n option (pg_dump/pg_restore)

Patch provides command line option --strict-names which requires that at
least one table/schema should present for each -t/-n option.

Pavel Stehule <pavel.stehule@gmail.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d02426029b133ee2bbe492a038642359bce3c527

Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml        |   17 ++++++++
doc/src/sgml/ref/pg_restore.sgml     |   10 +++++
src/bin/pg_dump/dumputils.c          |   17 ++++++++
src/bin/pg_dump/dumputils.h          |    4 ++
src/bin/pg_dump/pg_backup.h          |    1 +
src/bin/pg_dump/pg_backup_archiver.c |   54 +++++++++++++++++++++++
src/bin/pg_dump/pg_dump.c            |   79 +++++++++++++++++++++-------------
src/bin/pg_dump/pg_restore.c         |    5 +++
8 files changed, 157 insertions(+), 30 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Add noreturn attribute
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Allow per-tablespace effective_io_concurrency