Improve pg_restore's -t switch to match all types of relations.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_dump.sgml | modified | +4 −2 |
| doc/src/sgml/ref/pg_restore.sgml | modified | +34 −5 |
| src/bin/pg_dump/pg_backup_archiver.c | modified | +7 −1 |
| src/bin/pg_dump/pg_restore.c | modified | +2 −2 |