List the Databases on a PostgreSQL/PgSQL Server

Posted December 16, 2003 by Rex in PostgreSQL PgSQL


From within the psql monitor, use the following command to list all of the databases in the server:

\l

Alternatively, you can list the databases from the command line using the command as follows:

psql -l

The Conversation

Follow the reactions below and share your own thoughts.