Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Thu, 16 Nov 2023 11:57:30 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #2976: feat: fetch size for RefCursor In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 1395587443 X-GitHub-Comment-Type: review_comment X-GitHub-Commit: 2be046b8c76fcda813f53d5d9070e13feb009dd6 X-GitHub-Issue: 2976 X-GitHub-Line: 2263 X-GitHub-Path: pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: review_comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/2976#discussion_r1395587443 Content-Type: text/plain; charset=utf-8 (on pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java:2263) Here are the logs from running ``` public void testFetchSize() throws SQLException { checkAndRunResult(3); } ``` ``` 2023-11-16 06:53:04.080 EST [84077] LOG: duration: 0.136 ms execute /C_1: select * from testspg__getRefcursor ($1) as result 2023-11-16 06:53:04.080 EST [84077] DETAIL: parameters: $1 = NULL 2023-11-16 06:53:04.080 EST [84077] LOG: duration: 0.008 ms parse : FETCH FORWARD 3 IN "" 2023-11-16 06:53:04.080 EST [84077] LOG: duration: 0.002 ms bind : FETCH FORWARD 3 IN "" 2023-11-16 06:53:04.080 EST [84077] LOG: duration: 0.039 ms execute : FETCH FORWARD 3 IN "" 2023-11-16 06:53:04.080 EST [84077] LOG: duration: 0.002 ms parse : FETCH FORWARD 3 IN "" 2023-11-16 06:53:04.080 EST [84077] LOG: duration: 0.001 ms bind : FETCH FORWARD 3 IN "" 2023-11-16 06:53:04.080 EST [84077] LOG: duration: 0.003 ms execute : FETCH FORWARD 3 IN "" 2023-11-16 06:53:04.081 EST [84077] LOG: duration: 0.002 ms parse : FETCH FORWARD 3 IN "" 2023-11-16 06:53:04.081 EST [84077] LOG: duration: 0.002 ms bind : FETCH FORWARD 3 IN "" 2023-11-16 06:53:04.081 EST [84077] LOG: duration: 0.001 ms execute : FETCH FORWARD 3 IN "" 2023-11-16 06:53:04.081 EST [84077] LOG: duration: 0.006 ms parse : CLOSE "" 2023-11-16 06:53:04.081 EST [84077] LOG: duration: 0.001 ms bind : CLOSE "" 2023-11-16 06:53:04.081 EST [84077] LOG: duration: 0.002 ms execute : CLOSE "" 2023-11-16 06:53:04.081 EST [84077] LOG: duration: 0.005 ms parse S_2: COMMIT 2023-11-16 06:53:04.081 EST [84077] LOG: duration: 0.002 ms bind S_2: COMMIT 2023-11-16 06:53:04.081 EST [84077] LOG: duration: 0.006 ms execute S_2: COMMIT ```