$HOME/.pg service.conf

From wikieduonline
Revision as of 08:32, 9 September 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search
touch .pg_service.conf
# My comment for mydb
[MyDB] 
host=somehost 
port=5432 
user=admin


psql service=MyDB
https://stackoverflow.com/a/39097994
[MySecondDB]
host=localhost
port=5432
dbname=test
user=admin
password=your_password


Related terms

See also

Advertising: