Skip to content

Capability to disable prepared statement caching #223

Closed
@x0a1b

Description

@x0a1b

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions