# List databases:
l
# List databases:
l
postgres=# l
postgres=# l
List all databases:
l
List all databases:
l
SELECT datname FROM pg_database;
SELECT datname FROM pg_database;
# inside psql
l
# inside psql
l
l: for list all databases.
l: for list all databases.
l
Code language: Shell Session (shell)
l
Code language: Shell Session (shell)
postgres=# l+
Code language: psql
postgres=# l+
Code language: psql