show schema of current db in psql code example Example: postgresql show current database SELECT current_database();