[pgjdbc/pgjdbc] df4b6a: 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] df4b6a: test: Add tests for broken PGCopyInputStream.readF...
Date: 2021-01-12 13:34:06
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/56bd1c-3437f0@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: df4b6a545468d720e0ceb40c0946489fa090bff8
https://github.com/pgjdbc/pgjdbc/commit/df4b6a545468d720e0ceb40c0946489fa090bff8
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: 3437f02af7b7f63c43f6df6099356eb22a6fd7b5
https://github.com/pgjdbc/pgjdbc/commit/3437f02af7b7f63c43f6df6099356eb22a6fd7b5
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/56bd1cc84575...3437f02af7b7

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2021-01-12 13:51:52 Re: Streaming ResultSet rows instead of buffering them in memory
Previous Message Sehrope Sarkuni 2021-01-12 13:30:23 [pgjdbc/pgjdbc] c6794f: test: Add tests for broken PGCopyInputStream.readF...