psql command to show all of the databases in a server code example Example: postgres how to list all databases List all databases: \l