Skip to content

Conversation

mkabilov
Copy link

Current implementation of the execution of the queries with arguments (i.e. non-simpleQueries) implicitly creates unnamed prepared statement followed by execute command; both done in the separate transactions (by invoking Sync after prepare).

This might be an issue if one uses a connection pooler in a transaction pool mode like pgbouncer or odyssey

@mescam
Copy link

mescam commented Jun 15, 2020

Hi,

is there any particular reason why this patch was not merged? We are experiencing issues described in #889 and after applying this patch it looks like the errors are gone. We are still investigating if this breaks anything else, but would be nice to hear from the maintainers.

@cobolbaby
Copy link

@ALL Is there any progress on this request?

exfly added a commit to exfly/pq that referenced this pull request Jun 13, 2025
exfly added a commit to exfly/pq that referenced this pull request Jun 13, 2025
exfly added a commit to exfly/pq that referenced this pull request Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants