[pgjdbc/pgjdbc] c6794f: test: Add tests for broken PGCopyInputStream.readF...

From: Sehrope Sarkuni <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] c6794f: test: Add tests for broken PGCopyInputStream.readF...
Date: 2021-01-12 13:30:23
Message-ID: pgjdbc/pgjdbc/push/refs/heads/release/42.2/d255bd-6c296a@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/release/42.2
Home: https://github.com/pgjdbc/pgjdbc
Commit: c6794f09572c51bceb284e38b14c07a999d1aab9
https://github.com/pgjdbc/pgjdbc/commit/c6794f09572c51bceb284e38b14c07a999d1aab9
Author: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>
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: 6c296a52d5437c318ad3a1a40af4046ce7d1ac3f
https://github.com/pgjdbc/pgjdbc/commit/6c296a52d5437c318ad3a1a40af4046ce7d1ac3f
Author: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>
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/d255bd21778c...6c296a52d543

Browse pgsql-jdbc by date

  From Date Subject
Next Message Sehrope Sarkuni 2021-01-12 13:34:06 [pgjdbc/pgjdbc] df4b6a: test: Add tests for broken PGCopyInputStream.readF...
Previous Message Rob Sargent 2021-01-11 16:46:58 Re: CopyManager uses BaseConnection and I've lost mine