4 ms·
All those -h -U -p command line options are very confusing but luckily psql supports connections via URI scheme: psql postgresql://username:password@myhost
by coffee667 6y ago
All those -h -U -p command line options are very confusing but luckily psql supports connections via URI scheme:
psql postgresql://username:password@myhost.com:5432/databasename