Thread: [pgjdbc/pgjdbc] 85f858: fix: close refcursors when underlying cursor==null...

[pgjdbc/pgjdbc] 85f858: fix: close refcursors when underlying cursor==null...

From
Vladimir Sitnikov
Date:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 85f85813a4092eaf37e9fcc5b479eb6ff94fe963
      https://github.com/pgjdbc/pgjdbc/commit/85f85813a4092eaf37e9fcc5b479eb6ff94fe963
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  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