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 1lCTF9-0004sK-8V for pgsql-jdbc@arkaria.postgresql.org; Wed, 17 Feb 2021 20:16:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lCTF7-00087L-75 for pgsql-jdbc@arkaria.postgresql.org; Wed, 17 Feb 2021 20:16:13 +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 1lCTF7-00087E-17 for pgsql-jdbc@lists.postgresql.org; Wed, 17 Feb 2021 20:16:13 +0000 Received: from out-23.smtp.github.com ([192.30.252.206]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lCTF3-0006RJ-5E for pgsql-jdbc@lists.postgresql.org; Wed, 17 Feb 2021 20:16:12 +0000 Received: from github.com (hubbernetes-node-a1b7b61.ac4-iad.github.net [10.52.103.63]) by smtp.github.com (Postfix) with ESMTPA id EAB796006BB for ; Wed, 17 Feb 2021 12:16:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1613592967; bh=VRpRj+CslFnJ8VpgUknqBQA4H2/35n5cmHe0Zrc38i4=; h=Date:From:To:Subject:From; b=tPFCA4t8XlR8Qhy06cJ85bd0GJOUi6xro9kGlL4KWREPjpCB/E8bI+ymupf7iU1/9 qHtx2qQsgzYtpc6EsFtL/kqVeejmc/9rc6dJCSF2kmNLoDZqWQ90Lih+KlT8PaGkJ7 UDnYks82n6Q5WuUzoshZ/+njqY40E1L4ubAxUJ+U= Date: Wed, 17 Feb 2021 12:16:07 -0800 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] fc25ae: fix: Actually close unclosed results. Previously w... 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: fc25aebcec1b8abf7628bccd8cf565107afd85b1 https://github.com/pgjdbc/pgjdbc/commit/fc25aebcec1b8abf7628bccd8cf565107afd85b1 Author: Dave Cramer Date: 2021-02-17 (Wed, 17 Feb 2021) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgStatement.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java M pgjdbc/src/test/java/org/postgresql/test/jdbc4/jdbc41/CloseOnCompletionTest.java Log Message: ----------- fix: Actually close unclosed results. Previously was not closing the first unclosed result fixes #1903 (#1905) * fix: Actually close unclosed results. Previously was not closing the first unclosed result fixes #1903 * rename and comment closing of unclosed results to make it more clear