def extract_schema_and_table(name)
      schema, table = name.split('.', 2)

      unless table # A table was provided without a schema
        table  = schema
        schema = nil
      end

      if name =~ /^"/ # Handle quoted table names
        table  = name
        schema = nil
      end
      [schema, table]
    end
def extract_schema_and_table(name)
      schema, table = name.split('.', 2)

      unless table 
        table  = schema
        schema = nil
      end

      if name =~ /^"/ 
        table  = name
        schema = nil
      end
      [schema, table]
    end
def extract_schema_and_table ( name ) schema , table = name . split ( '.' , 2 ) unless table # A table was provided without a schema table = schema schema = nil end if name =~ / / # Handle quoted table names table = name schema = nil end [ schema , table ] end
- select_rows
- insert_sql
 = extract_schema_and_table (extra, taken from postgresql adapter)
 Extracts the table and schema name from +name+
- select_rows - insert_sql = extract_schema_and_table ( extra taken from postgresql adapter ) Extracts the table and schema name from + name +