Amazon Linux 2
sudo yum install postgresql postgresql-server postgresql-devel postgresql-contrib postgresql-docs
/usr/share/pgsql/pg_hba.conf.sample
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: