[pgjdbc/pgjdbc] 539a09: Fix exception on PGCopyOutputStream.close() after ...
Igor Volkov <[email protected]> Tue, 12 Nov 2019 14:21:05 -0800
| Newsgroups | gmane.comp.db.postgresql.jdbc |
|---|---|
| Message-ID | <pgjdbc/pgjdbc/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 539a09258f6009581785474fe5f15a46992ade6f
https://github.com/pgjdbc/pgjdbc/commit/539a09258f6009581785474fe5f15a46992ade6f
Author: Igor Volkov <[email protected]>
Date: 2019-11-12 (Tue, 12 Nov 2019)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/copy/PGCopyOutputStream.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/CopyTest.java
Log Message:
-----------
Fix exception on PGCopyOutputStream.close() after endCopy() (#1574) (#1575)
* Fix: check if active before close() (#1574)
* Fix: NPEs on flush() and isActive() if copy has ended
* Tests for close(), flush(), isActive()