https://www.postgresql.org/docs/current/app-psql.html
\du
\du+
\dg
\ddp
\dp
\dp *.*
\list
\dn Lists schemas (namespaces)
\dt
\c
\l
\dE[S+] [ pattern ]
\di[S+] [ pattern ]
\dm[S+] [ pattern ]
\ds[S+] [ pattern ]
\dt[S+] [ pattern ]
\dv[S+] [ pattern ]
Related
See also
- PostgreSQL:
psql
, .psqlrc, .pgpass
, $HOME/.pg service.conf
, -U, -W, -d
, meta-commands: \du, \dg, \ddp, \dp, \list, \dn, \dt, \c, \l, \di, \q
, show users
, show
, su - postgres
, psql -c, \?, \connect, \conninfo
, --version, --help
, PL/pgSQL