Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Makeprepare() not use named statements by default when cache is disabled#1245

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
elprans merged 1 commit intomasterfromnamed-ps
Mar 19, 2025

Conversation

@elprans
Copy link
Member

We allow disabling the statement cache to circumvent a proxy's inability to
cope with them, however there are still some holes where the use of a named
statement is attempted:prepare() with the default arguments, and
copy_in(). Fix both so that the use of a named statement is dependent
upon whether the prepared statement cache is enabled.

Fixes:#1219
Closes:#1218

…sabledWe allow disabling the statement cache to circumvent a proxy's inability tocope with them, however there are still some holes where the use of a namedstatement is attempted: `prepare()` with the default arguments, and`copy_in()`.  Fix both so that the use of a named statement is dependentupon whether the prepared statement cache is enabled.Fixes:#1219Closes:#1218
@elpranselprans merged commit5b14653 intomasterMar 19, 2025
41 checks passed
@elpranselprans deleted the named-ps branchMarch 19, 2025 20:24
elprans added a commit that referenced this pull requestNov 24, 2025
Enable Python 3.14 with experimental subinterpreter/freethreadingsupport.Improvements============* Add Python 3.14 support, experimental subinterpreter/freethreading support (#1279)  (by@elprans in9e42642)* Avoid performing type introspection on known types (#1243)  (by@elprans in5c9986c)* Make `prepare()` not use named statements by default when cache is disabled (#1245)  (by@elprans in5b14653)* Implement connection service file functionality (#1223)  (by@AndrewJackson2020 in1d63bb1)Fixes=====* Fix multi port connection string issue (#1222)  (by@AndrewJackson2020 in01c0db7)* Avoid leaking connections if _can_use_connection fails (#1269)  (by@yuliy-openai ine94302d)Other=====* Drop support for EOL Python 3.8 (#1281)  (by@elprans in6c2c490)
@elpranselprans mentioned this pull requestNov 24, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

copy_records_to_table uses named prepared statement even when statement_cache_size is 0

2 participants

@elprans

[8]ページ先頭

©2009-2025 Movatter.jp