Incorrect detection of pgpass file on non-Windows platform
See original GitHub issueThe driver handles pgpass file incorrectly on non-Windows operating systems, it searches for pgpass.conf
while it should take a look at .pgpass
. The default file location works right and depends on platform.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (7 by maintainers)
Top Results From Across the Web
postgresql: .pgpass not working
Make sure that the pgpass file has the correct format hostname:port:database:username:password (The Password File, passwordFromFile ). Each ...
Read more >ubuntu - .pgpass with postgreSQL not working
Is the pgpass file set to mode 0600 (i.e. read/write only by the owner)? The client library will ignore it if it's group-...
Read more >Thread: Have an encrypted pgpass file - Postgres Professional
Since .pgpass files contain plain-text passwords, I searched for an ... Here you side step those questions completely and make that the end...
Read more >PostgreSQL Credentials | GitGuardian documentation
This detector catches PostgreSQL credentials in the form of a URI connection string, in a CLI command or stored in a pgpass file....
Read more >Documentation: 15: E.5. Release 15
On non-Windows platforms, consult the HOME environment variable to find ... After an error is detected in psql's --single-transaction mode, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here is a history of this file:
The bug was introduced in
dev
and backported to 4.1 via a rebase, so there is no breakage.FWIW we introduced pgpass support in 4.0 (#1442), but yeah, technically this is a breaking change.