pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: vlsi (@vlsi) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] issue #3694: Enable reWriteBatchedInserts by default
Date: Mon, 30 Jun 2025 06:48:06 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
>from the JDBC API user's point of view, this change does not seem to be breaking
The setting changes the behaviour of `java.sql.Statement#executeBatch`. The method should return then number of modified rows for every batched statement: `int[]`.
If the driver goes with `reWriteBatchedInserts=true`, then it can no longer tell the number of modified rows for every `addBatch` statement, so the driver has to result to `Statement.SUCCESS_NO_INFO` value.
That is why we can't flip the default.
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: github://pgjdbc/pgjdbc
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] issue #3694: Enable reWriteBatchedInserts by default
In-Reply-To: <<[email protected]>>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox