Message-ID: From: "mipo256 (@mipo256)" To: "pgjdbc/pgjdbc" Date: Sun, 29 Jun 2025 14:17:55 +0000 Subject: [pgjdbc/pgjdbc] issue #3694: Enable reWriteBatchedInserts by default List-Id: X-GitHub-Author-Id: 68962645 X-GitHub-Author-Login: mipo256 X-GitHub-Issue: 3694 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-State: open X-GitHub-Type: issue X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3694 Content-Type: text/plain; charset=utf-8 In general, enabling the `reWriteBatchedInserts` comes with significant performance improvements over sending multiple `SimpleQuery` queries. I do not see any reason [to keep it disabled by default](https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/PGProperty.java#L591). Although, from the JDBC API user's point of view, this change does not seem to be breaking, the thing to keep in mind here is that the tooling in-between driver/backend (such as PgBouncer for instance) needs to be able to suport it. Best to my knowledge, PgBouncer does not have any limitation in here. In any case, I'll leave this issue as a placeholder for the further discussion on this topic.