Since I needed this feature badly, I added the -n / --schema switch to
Bruce Momjian <bruce@momjian.us>
Since I needed this feature badly, I added the -n / --schema switch to pg_restore. It restores the given schemaname only. It can be used in conjunction with the -t and other switches to make the selection very fine grained. Richard van den Bergg, CISSP
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_restore.sgml | modified | +13 −1 |
| src/bin/pg_dump/pg_backup_archiver.c | modified | +9 −1 |
| src/bin/pg_dump/pg_backup.h | modified | +2 −1 |
| src/bin/pg_dump/pg_restore.c | modified | +9 −2 |