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 #3724: Regression: FATAL: simple query "BEGIN" arrived before ending an extended query message
Date: Wed, 09 Jul 2025 08:58:09 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
I'm sure the commit that altered the behaviour was https://github.com/pgjdbc/pgjdbc/pull/3655/files#diff-cfe87ac6bfaa171dc41659f7bd2368cf9fc6d6d6531fad...
Effectively, previously many queries were sent as `extended` even though at the driver side the query was like `send query with QUERY_EXECUTE_AS_SIMPLE flag`.
For instance, `connection.isValid()` was coded to use simple queries, and it was using extended in practice, thus it suffered from `prepared statement is not valid` kind of errors.
Good to know you are not using autosave though.
view thread (9+ messages) latest in thread
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 #3724: Regression: FATAL: simple query "BEGIN" arrived before ending an extended query message
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