Skip to content

Extend PgConnectionSupplier so we can also use it for releasing connections #10672

@joshiste

Description

@joshiste

Expected Behavior

Also use PgConnectionSupplier to release connections;

Current Behavior

PgConnectionSupplier is only used to obtain a connection.

Context

You may need to know when the connection is returned (e.g., for o11y or AWS IAM auth).
So also having an optional release method on this would make life easier (without subclassing PGConnection)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions