-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
I have found these related issues/pull requests
None of the existing issues related to pgpass mention this.
Description
The path searched by sqlx for the password file does not match what libpq searches. This causes sqlx-based programs not to find an existing, working pgpass file on Windows.
Reproduction steps
Create a pgpass file on Windows. Use it with a libpq-based program. Try an sqlx-based program and see it fail.
SQLx version
not relevant
Enabled SQLx features
not relevant
Database server and version
postgresql, any
Operating system
Windows
Rust version
not relevant