SELECT datname FROM pg_database WHERE datistemplate = false;
datname
----------
postgres
(1 row)
Related terms[edit]
See also[edit]
pg
, pg_ctl
, pg_dump, pg_dumpall, pg_restore
, pg_class
, pgaudit
, pg_database
, pg_cron
, createdb
- VACUUM: PostgreSQL VACUUM, Autovacuum,
pg_database, pg_stat_activity
, Redshift VACUUM