Unverified Commit a7052f73 authored by Dimitri Fontaine's avatar Dimitri Fontaine Committed by GitHub
Browse files

Implement our own --drop-if-exists approach. (#133)

Postgres pg_restore is easily confused with SQL object dependencies when the
archive is filtered (either using --section or --use-list, or both). To
avoid that problem, issue a DROP TABLE IF EXISTS ... CASCADE; for all the
tables we are going to process when --drop-if-exists is in use.
parent a09c13d6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment