how to see databases present in postgres code example Example: postgresql show current database SELECT current_database();