Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Thu, 13 Jul 2023 11:01:02 +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: vlsi X-GitHub-Comment-Id: 1634042343 X-GitHub-Comment-Type: issue_comment X-GitHub-Edited-At: 2023-07-13T11:03:21Z X-GitHub-Issue: 2918 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/2918#issuecomment-1634042343 Content-Type: text/plain; charset=utf-8 I think `-1` for `executeLargeUpdate` and `executeUpdate` is a bug. For DMLs we should have server-side information on "the number of modified rows", and we should just return it in `executeUpdate`.