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

[v9] Fix user mismatch in postgres backend #12553

Merged
merged 5 commits into from
May 12, 2022

Conversation

jimbishopp
Copy link
Contributor

Backport #12467 to branch/v9

Always set the user field of the database connection string to the same
user defined in the CommonName field of the client certificate.

The pgx library always includes a user field in the connection string
and defaults to $USER. The database connection will fail when $USER is
not the same as the value defined in the CommonName field of the client
certificate.
@jimbishopp jimbishopp enabled auto-merge (squash) May 11, 2022 23:00
@jimbishopp jimbishopp removed request for russjones and zmb3 May 11, 2022 23:04
@jimbishopp jimbishopp merged commit 2781abc into branch/v9 May 12, 2022
@webvictim webvictim mentioned this pull request Jun 8, 2022
@zmb3 zmb3 deleted the bot/backport-12467-branch/v9 branch April 26, 2023 21:31
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

Successfully merging this pull request may close these issues.

4 participants