List all databases in PostgreSQL with \l in psql, psql -l from the shell or a query on pg_database. Add sizes and owners, hide templates. Tested on PostgreSQL 16.