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