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

When transforming into a SQL file, write to a partial file first. (#186)

Writing directly to the output file opens a window where the file exists and
can be read with partial content, either from pgcopydb itself, or from an
external tooling. Using a temp filename then switching to the actual
expected file protects again partial reads and parse failures.
parent 59831f97
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