📅  最后修改于: 2022-03-11 14:57:03.194000             🧑  作者: Mango
How to connect to remore postgres database from command line
psql -h -p -d -U -W
-W option will prompt for password
psql -h 192.168.1.50 -p 5432 -d testdb -U testuser -W