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 for require_auth configuration parameter #2090

Open
phillip-gaisford opened this issue Jul 17, 2024 · 1 comment
Open

Support for require_auth configuration parameter #2090

phillip-gaisford opened this issue Jul 17, 2024 · 1 comment

Comments

@phillip-gaisford
Copy link

Is your feature request related to a problem? Please describe.
Postgres 16 added a new configuration parameter named require_auth:

PostgreSQL: pgsql: libpq: Add support for require_auth to control authorized auth m

There's also an environment variable: PGREQUIREAUTH

Could it be that pgx does not handle this yet?

Describe the solution you'd like
Support for use of require_auth in the database connect URI.

Describe alternatives you've considered
None known.
Additional context
Feature documentation: https://www.postgresql.org/docs/16/libpq-connect.html#LIBPQ-CONNECT-REQUIRE-AUTH

@jackc
Copy link
Owner

jackc commented Jul 17, 2024

Seems reasonable.

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

No branches or pull requests

2 participants