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

fix: allow prepared_statement_cache_size for asyncpg #6324

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

RogerHYang
Copy link
Contributor

@RogerHYang RogerHYang commented Feb 10, 2025

@RogerHYang RogerHYang marked this pull request as ready for review February 10, 2025 21:34
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Feb 10, 2025
ans = dict(url_query)
if sslmode := ans.pop("sslmode", None) or ans.pop("ssl", None):
ans["sslmode"] = sslmode
ans.pop("prepared_statement_cache_size", None)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's not allowed by psycopg

@RogerHYang RogerHYang merged commit 713cf97 into main Feb 11, 2025
57 checks passed
@RogerHYang RogerHYang deleted the prepared_statement_cache_size branch February 11, 2025 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants