Обсуждение: pgsql: Check existency of table/schema for -t/-n option (pg_dump/pg_res

Поиск
Список
Период
Сортировка

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

От
Teodor Sigaev
Дата:
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(-)