pgx
pgx copied to clipboard
Support PG* environment variables for TLS configuration
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.
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?