postgresql show database with name start code example Example: postgresql show current database SELECT current_database();