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

Update pgbouncer to 1.21.0 + support prepared statements #566

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

bayandin
Copy link
Member

@bayandin bayandin commented Oct 16, 2023

Copy link
Member

@sharnoff sharnoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, it's weird that the pgbouncer config is stored here... I'll open an issue about it; setting it in vm-builder means we're very inflexible.

@sharnoff sharnoff merged commit 23adc18 into main Oct 17, 2023
8 checks passed
@sharnoff sharnoff deleted the bayandin/pgbouncer-1.21.0 branch October 17, 2023 17:24
sharnoff added a commit to neondatabase/neon that referenced this pull request Oct 18, 2023
Only applicable change was neondatabase/autoscaling#566, updating
pgbouncer to 1.21.0 and enabling support for prepared statements.
sharnoff added a commit to neondatabase/neon that referenced this pull request Oct 18, 2023
Only applicable change was neondatabase/autoscaling#566, updating
pgbouncer to 1.21.0 and enabling support for prepared statements.
@sharnoff
Copy link
Member

I'll open an issue about it

#577

bayandin added a commit that referenced this pull request Oct 26, 2023
Disable prepared statement support for pgbouncer by setting
`max_prepared_statements=0`.

It was initially enabled in
#566, but we encountered
some problems with them. And we can't just revert that PR (to pgbouncer
1.18) because we started to use `auth_dbname`, which is added in
pgbouncer 1.19.

Ref https://neondb.slack.com/archives/C063B6SCHDX
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