Subject: Re: [pgjdbc/pgjdbc] PR #3917: test: add autosave=always|never|conservative and cleanupSavepoints=true|false to the randomized CI jobs

From: "mjschwaiger (@mjschwaiger)" <[email-masked]>
Date: Mon, 19 Jan 2026 14:21:00 +0000

(on pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java)

Wouldn't it be more efficient to test the main/default case of AutoSave.NEVER first, thereby avoiding these string comparisons inside `isSpecialQuery` most of the time?
```
if (getAutoSave() == AutoSave.NEVER) {
    return false;
}
if (isSpecialQuery(query)) {
    return false;
}
```