Skip to content

Track parameter status changes across clients #3

@levkk

Description

@levkk

In transaction mode, track parameter status updates, e.g. SET statement_timeout TO '30s';, and make sure they are cleaned up before a connection is placed back into the pool. This avoids backend connection contamination, especially in cases when pg_dump resets the search_path and client connections throw "table doesn't exist" errors (very scary in production).

Track which client sets which parameters and restore them before the connection is given to the client. This allows persisting session-level state across transactions in transaction pooling mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendFeature to manage backend connectionsfrontendClient-facing feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions