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(-)