Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
PGCopyOutputStream fails on close() after endCopy() #1574
I'm submitting a ...
Describe the issue
This issue was previously reported in the mailing list in January 2019 and there is an open PR #1387 by @sehrope with a proposed solution. However his solution introduces breaking changes in the API. Although I cannot disagree that public APIs of
Right now I propose checking if the copy operation is active before ending it for the second time. Similar approach is done in
So basically my fix is ready. In theory we could fix all