psql commands to see all databases code example Example: postgres how to list all databases List all databases: \l