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