Simple question. I have access to PostgreSQL. If I knew the name of the database I could
psql -d dbname
but if I don't know dbname, how can I list what databases are there?
Simple question. I have access to PostgreSQL. If I knew the name of the database I could
psql -d dbname
but if I don't know dbname, how can I list what databases are there?
Assuming you have a valid login:
BTW, this is in the man page.