query to pull all databases in postgresql in pgadmin code example Example: postgres how to list all databases List all databases: \l