how to see all db in postgresql code example Example: postgresql show current database SELECT current_database();