[pgjdbc/pgjdbc] df4b6a: test: Add tests for broken PGCopyInputStream.readF...
[pgjdbc/pgjdbc] df4b6a: test: Add tests for broken PGCopyInputStream.readF...
От:
Sehrope Sarkuni <noreply@github.com>
Дата:
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: df4b6a545468d720e0ceb40c0946489fa090bff8
https://github.com/pgjdbc/pgjdbc/commit/df4b6a545468d720e0ceb40c0946489fa090bff8
Author: Sehrope Sarkuni
Date: 2021-01-12 (Tue, 12 Jan 2021)
Changed paths:
M pgjdbc/src/test/java/org/postgresql/test/jdbc4/PGCopyInputStreamTest.java
Log Message:
-----------
test: Add tests for broken PGCopyInputStream.readFromCopy()
Refactor PGCopyInputStreamTest and add a failing test for reading using the
CopyOut interface method readFromCopy().
Commit: 3437f02af7b7f63c43f6df6099356eb22a6fd7b5
https://github.com/pgjdbc/pgjdbc/commit/3437f02af7b7f63c43f6df6099356eb22a6fd7b5
Author: Sehrope Sarkuni
Date: 2021-01-12 (Tue, 12 Jan 2021)
Changed paths:
M CHANGELOG.md
M pgjdbc/src/main/java/org/postgresql/copy/PGCopyInputStream.java
Log Message:
-----------
fix: Fix last row duplicated in PGCopyInputStream.readFromCopy()
Fixes #2016
Compare: https://github.com/pgjdbc/pgjdbc/compare/56bd1cc84575...3437f02af7b7