Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PG* environment variables for TLS configuration #112

Open
brendanlong opened this issue May 14, 2021 · 1 comment
Open

Support PG* environment variables for TLS configuration #112

brendanlong opened this issue May 14, 2021 · 1 comment

Comments

@brendanlong
Copy link
Contributor

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
Copy link
Contributor Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant