yum install postgresql.x86_64 Amazon Linux 2 sudo amazon-linux-extras install postgresql10 psql: SCRAM authentication requires libpq version 10 or above
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: