$HOME/.pg service.conf

From wikieduonline
Revision as of 08:31, 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=5433 
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: