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 1nt9TO-0000ii-Ne for pgsql-jdbc@arkaria.postgresql.org; Mon, 23 May 2022 14:55:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nt9SP-0004R7-Ey for pgsql-jdbc@arkaria.postgresql.org; Mon, 23 May 2022 14:54:53 +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 1nt9SP-0004QP-5o for pgsql-jdbc@lists.postgresql.org; Mon, 23 May 2022 14:54:53 +0000 Received: from out-22.smtp.github.com ([192.30.252.205] helo=smtp.github.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nt9SL-0006LO-8P for pgsql-jdbc@lists.postgresql.org; Mon, 23 May 2022 14:54:52 +0000 Received: from github.com (hubbernetes-node-a5cbdaf.ac4-iad.github.net [10.52.206.102]) by smtp.github.com (Postfix) with ESMTPA id 144DF7205E3 for ; Mon, 23 May 2022 07:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1653317687; bh=DWqxWTv7oYqdzRQzd4cQ5+Dl67XCfgOqu8L0yv55fcc=; h=Date:From:To:Subject:From; b=ffnK6cJnKu+LDp+Y/6H9IV7gsD3tB3c6ddYlocMBhW1OkrxV6erQyFqggWOfhbUy4 Ni3E6VzztddkPNjGBSvxvYnik6jSI6Pbw6Bo1OgecXKF/gbaf7yQNQzwe5XP0uVk6b Ef4bZwludTRrUNin5d39SlZcRsxY9pBE/dBNwGTA= Date: Mon, 23 May 2022 07:54:47 -0700 From: Vladimir Sitnikov To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 85f858: fix: close refcursors when underlying cursor==null... 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: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 85f85813a4092eaf37e9fcc5b479eb6ff94fe963 https://github.com/pgjdbc/pgjdbc/commit/85f85813a4092eaf37e9fcc5b479eb6ff94fe963 Author: Vladimir Sitnikov Date: 2022-05-23 (Mon, 23 May 2022) Changed paths: M docs/_posts/2022-02-01-42.3.2-release.md M docs/_posts/2022-02-15-42.3.3-release.md M docs/_posts/2022-04-15-42.3.4-release.md M docs/_posts/2022-05-04-42.3.5-release.md M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java M pgjdbc/src/test/java/org/postgresql/test/TestUtil.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/RefCursorFetchTest.java Log Message: ----------- fix: close refcursors when underlying cursor==null instead of relying on defaultRowFetchSize See https://github.com/pgjdbc/pgjdbc/issues/2227 See https://github.com/pgjdbc/pgjdbc/pull/2371