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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 5671aaca87c47128f6a1e0556ce9c7512096ad87
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-07-02T22:13:34Z
Releases: 9.6.0
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

Files

Documentation touched