Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Wed, 12 Jul 2023 17:30:16 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #2918: Set defaultRowFetchSize=10000 by default to improve app stability In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 1632933587 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 2918 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/2918#issuecomment-1632933587 Content-Type: text/plain; charset=utf-8 So the problem is that if you set the fetch size to a non-zero value we use a cursor. executeUpdate executes the statement but returns a cursor. While the backend knows how many rows have been updated, that information is not conveyed. Seems like a bug in the server.