Skip to content

avoid session pinning with psqlODBC and RDS Proxy #143

@neetaghadge

Description

@neetaghadge

We are currently using PostgreSQL 16.5 with the ODBC driver (psqlodbcw.so version 17.00.0006) in an environment that relies on Amazon RDS Proxy.
We have observed that the driver automatically issues the following SQL statements at connection startup:
SET DateStyle = 'ISO';
SET extra_float_digits = 2;
SHOW transaction_isolation;

While harmless in most cases, these queries cause AWS RDS Proxy to pin sessions, which reduces pooling efficiency.

Could you please confirm whether this behavior can be modified or controlled through configuration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions