Improve pg_restore's -t switch to match all types of relations.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jul 2015 22:13:34 +0000 (18:13 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jul 2015 22:13:34 +0000 (18:13 -0400)
commit5671aaca87c47128f6a1e0556ce9c7512096ad87
tree6e969c0a8155426f162e8a10c935064e600c76fd
parenta5d489ccb7e613c7ca3be6141092b8c1d2c13fa7
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
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_restore.sgml
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_restore.c