psql (10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)) Type "help" for help. postgres=#
sudo -u postgres sudo: unknown user: postgres sudo: error initializing audit plugin sudoers_audit
nping -tcp -p 5432 your_postgres_host -q
psql
.psqlrc, .pgpass
$HOME/.pg service.conf
-U, -W, -d
\du, \dg, \ddp, \dp, \list, \dn, \dt, \c, \l, \di, \q
show users
show
su - postgres
psql -c, \?, \connect, \conninfo
--version, --help
Advertising: