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

Optionally clean up server connections #444

Merged
merged 6 commits into from
May 18, 2023
Merged

Optionally clean up server connections #444

merged 6 commits into from
May 18, 2023

Conversation

levkk
Copy link
Contributor

@levkk levkk commented May 18, 2023

Feature

We currently automatically remove prepared statements and set commands from servers if they are used in transaction mode. Sometimes though, applications rely on this not happening, e.g. if they were previously using PgBouncer. Making this optional with this setting. Defaults to true, so existing behavior is preserved.

@zainkabani
Copy link
Contributor

Nice I was thinking about adding this too

@levkk
Copy link
Contributor Author

levkk commented May 18, 2023

Nice I was thinking about adding this too

I ended up needing this one too for our production deployments.

@levkk levkk marked this pull request as ready for review May 18, 2023 16:03
@levkk levkk merged commit 37e3349 into main May 18, 2023
@levkk levkk deleted the levkk-optional-clean branch May 18, 2023 17:46
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.

2 participants