command to list all the databases in postgresql code example Example: postgresql list db postgres=# \l