Closed
Description
So when using Postgres with connection poolers like pgbouncer one might end up in a situation where you have to disable prepared statement caching. This is what Postgres JDBC driver allows if you set prepareThreshold=0
in connection string. As far as I can see from source code that is not possible today. Can we enable similar mechanism with preparedStatementCache=0
; alternatively this will allow developers controlling cache size. JDBC has similar option preparedStatementCacheQueries
I hope we can do something similar.