# File lib/active_record/connection_adapters/postgresql_adapter.rb, line 875 def current_schema query('SELECT current_schema', 'SCHEMA')[0][0] end