Returns the list of all tables
in the schema search path.
# File activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb, line 74
def tables(name = nil)
if name
ActiveSupport::Deprecation.warn( Passing arguments to #tables is deprecated without replacement..squish)
end
select_values("SELECT tablename FROM pg_tables WHERE schemaname = ANY(current_schemas(false))", 'SCHEMA')
end