Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzJkm-0001d7-Rz for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Jan 2021 13:30:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzJkl-0004tM-EN for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Jan 2021 13:30:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzJkl-0004rW-6s for pgsql-jdbc@lists.postgresql.org; Tue, 12 Jan 2021 13:30:31 +0000 Received: from out-26.smtp.github.com ([192.30.252.209] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzJke-0008Ms-Db for pgsql-jdbc@lists.postgresql.org; Tue, 12 Jan 2021 13:30:29 +0000 Received: from github.com (hubbernetes-node-48efd5b.ash1-iad.github.net [10.56.122.34]) by smtp.github.com (Postfix) with ESMTPA id 4C7665E0095 for ; Tue, 12 Jan 2021 05:30:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1610458223; bh=RG7p9QuQvBYuMpPaHHPp2Tq6EmThj4cF7HTYzPtREZo=; h=Date:From:To:Subject:From; b=GMEM9dU778ZboPJib4MlOC4ikBmfK6B8nG1CPkrbpCEAiQKnZu+4HfaAlZ4+4G/9o EbbDM4t+yQswRoBGdgJloFuVgnTz60qqPfpnxNyFVbCi9c1OPSt8iBuILtbbygSvzK +MNp9V5LYCqlRBI0DfH850JI8oi4nzXroB+BS1Yc= Date: Tue, 12 Jan 2021 05:30:23 -0800 From: Sehrope Sarkuni To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] c6794f: test: Add tests for broken PGCopyInputStream.readF... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/release/42.2 Home: https://github.com/pgjdbc/pgjdbc Commit: c6794f09572c51bceb284e38b14c07a999d1aab9 https://github.com/pgjdbc/pgjdbc/commit/c6794f09572c51bceb284e38b14c07a999d1aab9 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: 6c296a52d5437c318ad3a1a40af4046ce7d1ac3f https://github.com/pgjdbc/pgjdbc/commit/6c296a52d5437c318ad3a1a40af4046ce7d1ac3f 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/d255bd21778c...6c296a52d543