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 1kzJoK-0001mj-UJ for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Jan 2021 13:34:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzJoJ-00063u-6A for pgsql-jdbc@arkaria.postgresql.org; Tue, 12 Jan 2021 13:34:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzJoJ-00063n-0T for pgsql-jdbc@lists.postgresql.org; Tue, 12 Jan 2021 13:34:11 +0000 Received: from out-20.smtp.github.com ([192.30.252.203]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzJoG-0003rw-IC for pgsql-jdbc@lists.postgresql.org; Tue, 12 Jan 2021 13:34:10 +0000 Received: from github.com (hubbernetes-node-fc79caa.va3-iad.github.net [10.48.23.65]) by smtp.github.com (Postfix) with ESMTPA id 8ACB5E2000 for ; Tue, 12 Jan 2021 05:34:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1610458446; bh=1gsI/k/VCje+cQnblEKnG5Oo0jd5eRlbSoSnY3y/Its=; h=Date:From:To:Subject:From; b=bBvySW5L6ny+gaiRr+/6IkyE3Qq2jNjWKFXfkkw8TSZZn79c8kOWzUNfx2eGPzTsB ByYHcB5G8YQjOxyKJ7+/UFao9EO0f0jTqmwS93WRhxXfr3LyWuqG2AUr1VRaAxV3Bn nAEOBgb1VUMx22Rd6+AUizzZtcl3OuFHAvShzCeQ= Date: Tue, 12 Jan 2021 05:34:06 -0800 From: Sehrope Sarkuni To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] df4b6a: 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/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