Unverified Commit f0065cfe authored by Dimitri Fontaine's avatar Dimitri Fontaine
Browse files

Use the source database snapshot in the schema pg_dump steps.

In the previous coding we would first call into pg_dump to grab the pre-data
and post-data schemas to file, and then only start a transaction and export
its snapshot for re-use in the table data COPY processes.

With this patch we now take the snapshot first and then use the exported
snapshot in the pg_dump calls and also in the rest of the operations,
ensuring consistency in between even those steps.
parent 5e5505f2
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