pg_restore: add example for listing contents of a dump file (#4178)
This commit is contained in:

committed by
GitHub

parent
fc506737f1
commit
0a4e1cc43e
@@ -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}}`
|
||||
|
Reference in New Issue
Block a user