Message-ID: From: "SuperPat45 (@SuperPat45)" To: "pgjdbc/pgjdbc" Date: Fri, 12 Jul 2024 10:04:07 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #2861: setFetchSize is ignored? In-Reply-To: References: List-Id: X-GitHub-Author-Login: SuperPat45 X-GitHub-Comment-Id: 2225245748 X-GitHub-Comment-Type: issue_comment X-GitHub-Edited-At: 2024-07-14T11:55:00Z X-GitHub-Issue: 2861 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/2861#issuecomment-2225245748 Content-Type: text/plain; charset=utf-8 A solution would be to take account of the fetchSize despite the autocommit mode, but as soon as the first commit occurs, load all the remaining data into all the opened ResultSets to avoid errors.