impossibl / pgjdbc-ng

A new JDBC driver for PostgreSQL aimed at supporting the advanced features of JDBC and Postgres
https://impossibl.github.io/pgjdbc-ng
Other
596 stars 108 forks source link

Add support for ~/.pgpass #564

Open hoxu opened 2 years ago

hoxu commented 2 years ago

It would be nice if the driver defaulted to reading the password file as fallback.

This way when deploying to an environment, it would be enough to write just ~/.pgpass, that would allow both psql and applications using the JDBC driver to access the database.