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 1lCTDD-0004mw-8z for pgsql-jdbc@arkaria.postgresql.org; Wed, 17 Feb 2021 20:14: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 1lCTDB-0004mt-Ux for pgsql-jdbc@arkaria.postgresql.org; Wed, 17 Feb 2021 20:14:13 +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 1lCTDB-0004mm-1b for pgsql-jdbc@lists.postgresql.org; Wed, 17 Feb 2021 20:14:13 +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 1lCTD8-0000Yb-9A for pgsql-jdbc@lists.postgresql.org; Wed, 17 Feb 2021 20:14:12 +0000 Received: from github.com (hubbernetes-node-a15f3a6.va3-iad.github.net [10.48.123.72]) by smtp.github.com (Postfix) with ESMTPA id 3D8B6E0263 for ; Wed, 17 Feb 2021 12:14:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1613592848; bh=ELnY5cg6L82ZR/0oPBdFmFPXXfBDQWTJqC7JTORsiIE=; h=Date:From:To:Subject:From; b=qiuWNrgLB65hW1QnGsWqyCGVCR/0MsTSgp9uWOpSpnPGQouvMb99FWBR4Nfb6yXOh Mn1PkcP9OJ2zpkFh47RAxntZ4rjfSgfIRL9cWo2EWukM9MpEEkw19hsou73lpGa5EP ZG4+hBsVGtDC4Ez4nDExETLxvf4PpoPyQC8oi/IQ= Date: Wed, 17 Feb 2021 12:14:08 -0800 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 2c23b9: 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/master Home: https://github.com/pgjdbc/pgjdbc Commit: 2c23b9b623815e7e02e3673d8948ec86341b5a15 https://github.com/pgjdbc/pgjdbc/commit/2c23b9b623815e7e02e3673d8948ec86341b5a15 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