How do I show all databases in PostgreSQL?

Trường Phan

New member
How do I show all databases in PostgreSQL?
Answer
Use l or l+ in psql
to show all databases in the current PostgreSQL server. Use the SELECT statement to query data from the pg_database to get all databases.
 

Tìm kiếm

Back
Top