pgsql: Support multiple -t/--table arguments for more commands

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Support multiple -t/--table arguments for more commands
Date: 2013-01-17 10:28:21
Message-ID: E1Tvmhp-0008Uc-Hq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Support multiple -t/--table arguments for more commands

On top of the previous support in pg_dump, add support to specify
multiple tables (by using the -t option multiple times) to
pg_restore, clsuterdb, reindexdb and vacuumdb.

Josh Kupershmidt, reviewed by Karl O. Pinc

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/ref/clusterdb.sgml | 14 +++++++-
doc/src/sgml/ref/pg_restore.sgml | 3 +-
doc/src/sgml/ref/reindexdb.sgml | 39 ++++++++++++++--------
doc/src/sgml/ref/vacuumdb.sgml | 20 +++++++----
src/bin/pg_dump/common.c | 31 ------------------
src/bin/pg_dump/dumputils.c | 33 +++++++++++++++++++
src/bin/pg_dump/dumputils.h | 17 ++++++++++
src/bin/pg_dump/pg_backup.h | 3 +-
src/bin/pg_dump/pg_backup_archiver.c | 2 +-
src/bin/pg_dump/pg_dump.h | 13 -------
src/bin/pg_dump/pg_restore.c | 4 +-
src/bin/scripts/Makefile | 2 +-
src/bin/scripts/clusterdb.c | 29 ++++++++++++-----
src/bin/scripts/reindexdb.c | 58 +++++++++++++++++++++-------------
src/bin/scripts/vacuumdb.c | 34 ++++++++++++++-----
15 files changed, 191 insertions(+), 111 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2013-01-17 12:54:55 Re: Materialized views WIP patch
Previous Message Peter Eisentraut 2013-01-17 04:52:11 pgsql: Get rid of pg_dump's README