| From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Check existency of table/schema for -t/-n option (pg_dump/pg_res |
| Date: | 2015-09-14 13:20:07 |
| Message-ID: | E1ZbTfz-0000qc-Um@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
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(dot)stehule(at)gmail(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2015-09-14 13:56:47 | Re: [COMMITTERS] pgsql: Fix an O(N^2) problem in foreign key references. |
| Previous Message | Peter Eisentraut | 2015-09-13 22:49:47 | pgsql: Add noreturn attribute |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Petr Jelinek | 2015-09-14 13:20:33 | Re: WIP: Rework access method interface |
| Previous Message | Shulgin, Oleksandr | 2015-09-14 13:09:07 | Re: On-demand running query plans using auto_explain and signals |