how to know my db name in postgresql code example Example: postgresql show current database SELECT current_database();