Skip to content

Reset pooled sessions between uses #391

@strk

Description

@strk

When using pooled connections the session configuration in a session will affect operations performed on what the client considers a new connection (but it is not, due to pooling).

For comparison, pg_bouncer default configuration is to issue a "DISCARD ALL" whenever a connection is released into the pool.

This ticket is for supporting a similar mechanism at the node pooled connection level. A "session reset" command could be configurable so that users using pg_bouncer could avoid doing it again.

See CartoDB/CartoDB-SQL-API#98

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions