
PostgreSQL List Databases: \l, SQL and GUI
To list databases in PostgreSQL, connect with psql and type \l. That prints every database on the server with its owner, encoding and access privileges. If you would rather use SQL, SELECT datname
Fri Oct 09 2026 · 7 min read · 0 views



