-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v9] Fix user mismatch in postgres backend (#12553)
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.
- Loading branch information
1 parent
aadfd80
commit 2781abc
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters