pg_restore: add example for listing contents of a dump file (#4178)

This commit is contained in:
Robert Požarickij
2020-07-17 20:37:32 +03:00
committed by GitHub
parent fc506737f1
commit 0a4e1cc43e

View File

@@ -15,6 +15,10 @@
`pg_restore -h {{host}} -p {{port}} -d {{db_name}} {{archive_file.dump}}`
- List database objects included in the archive:
`pg_restore --list {{archive_file.dump}}`
- Clean database objects before creating them:
`pg_restore --clean -d {{db_name}} {{archive_file.dump}}`