Here are a couple of ways to show a list of databases when using psql
with PostgreSQL.
The first option can be used when we’re already connected to PostgreSQL. The second option can be used when we don’t currently have a connection to Postgres.
Continue reading