current_schema()
Returns the current schema name.
# File activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb, line 194 def current_schema query_value("SELECT current_schema", "SCHEMA") end