pgsql: Improve pg_restore's -t switch to match all types of relations.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve pg_restore's -t switch to match all types of relations.
Date: 2015-07-02 22:13:42
Message-ID: E1ZAmjn-0003vX-02@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve pg_restore's -t switch to match all types of relations.

-t will now match views, foreign tables, materialized views, and sequences,
not only plain tables. This is more useful, and also more consistent with
the behavior of pg_dump's -t switch, which has always matched all relation
types.

We're still not there on matching pg_dump's behavior entirely, so mention
that in the docs.

Craig Ringer, reviewed by Pavel Stehule

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5671aaca87c47128f6a1e0556ce9c7512096ad87

Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml | 6 ++++--
doc/src/sgml/ref/pg_restore.sgml | 39 +++++++++++++++++++++++++++++-----
src/bin/pg_dump/pg_backup_archiver.c | 8 ++++++-
src/bin/pg_dump/pg_restore.c | 4 ++--
4 files changed, 47 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2015-07-03 02:55:08 pgsql: Make WAL-related utilities handle .partial WAL files properly.
Previous Message Tom Lane 2015-07-02 21:24:45 pgsql: Make numeric form of PG version number readily available in Make