Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Flip the cache_prep_stmts default from True to False so the shared, connection-level prepared-statement cache (reused across all cursors) is now opt-in.
By default each cursor keeps a single prepared statement, reused while the SQL is unchanged: simpler, predictable, no cross-cursor sharing. Pass cache_prep_stmts=True to restore the shared cache.
Applies to all impls: pure-Python and C connections.