Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not invoke sync command while preparing unnamed prepared statement #759

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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?

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.

None yet

3 participants