public inbox for [email protected]
help / color / mirror / Atom feedFrom: Achilleas Mantzios - cloud <[email protected]>
To: [email protected]
Cc: Achilleas Mantzios <[email protected]>
Subject: Migrating from 10 -> 16, PreparedStatements disabled in JDBC and pgbouncer, I am getting : bind <unnamed>/C_5
Date: Fri, 18 Oct 2024 11:11:28 +0100
Message-ID: <[email protected]> (raw)
Hi All
We have disabled prepared statements in the JDBC settings
(prepareThreshold=0) and in pgbouncer (max_prepared_statements=0).
I have noticed in the pgsql 16.4 logs some lines with this pattern :
10.9.0.110(45201) [4079203] 67122b3b.3e3e63 2024-10-18 12:32:44.260 EEST
SMA amantzio@dynacom line:35 LOG: duration: 0.166 ms parse <unnamed>:
SELECT work_status FROM company_stuff WHERE ldap_cn = $
1
10.9.0.110(45201) [4079203] 67122b3b.3e3e63 2024-10-18 12:32:44.261 EEST
SMA amantzio@dynacom line:36 LOG: duration: 0.553 ms bind
<unnamed>/C_5: SELECT work_status FROM company_stuff WHERE ldap_cn
= $1
10.9.0.110(45201) [4079203] 67122b3b.3e3e63 2024-10-18 12:32:44.261 EEST
SMA amantzio@dynacom line:38 LOG: duration: 0.036 ms execute
<unnamed>/C_5: SELECT work_status FROM company_stuff WHERE ldap_
cn = $1
So the parse is done on an unnamed prepared statement, however the bind
and the execute show this : /C_5 after<unnamed>. We haven't got any log
entries with this /C_* pattern on the "parse" phase, only on "bind" and
"execute". I am curious what those represent.
Thank you
view thread (3+ 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: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Migrating from 10 -> 16, PreparedStatements disabled in JDBC and pgbouncer, I am getting : bind <unnamed>/C_5
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