get a list of postgress databases psql code example Example: postgres how to list all databases List all databases: \l