pgx icon indicating copy to clipboard operation
pgx copied to clipboard

Support PG* environment variables for TLS configuration

Open brendanlong opened this issue 4 years ago • 1 comments

psql has various environment variables that it uses for the default configuration: https://www.postgresql.org/docs/9.1/libpq-envars.html

We support add support for PGSSLMODE, PGREQUIRESSL, PGSSLCERT, PGSSLKEY, PGSSLCRL, and PGSSLROOTCERT where applicable.

brendanlong avatar May 14 '21 18:05 brendanlong

Something to decide: Can we do this in a somewhat IO-independent way, so we don't have to re-implement this for each Pgx_* implementation?

brendanlong avatar May 14 '21 18:05 brendanlong