@jcoreio/get-pg-config
v1.0.0
Published
apply default postgres connection config from dotfiles and .pgpass
Downloads
1,048
Readme
@jcoreio/get-pg-config
apply default postgres connection config from dotfiles and .pgpass
This solves two minor problems with pg
's default connection parameters:
- it doesn't read
~/.pgpass
/PGPASSFILE
user
defaults to the OS user. In our work we always use Docker and thepostgres
user, so we can configure that as the default with the following inpackage.json
or.get-pg-configrc
etc:"get-pg-config": { "defaults": { "user": "postgres" } }