code: 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
docs: - select_rows
  - insert_sql
   = extract_schema_and_table (extra, taken from postgresql adapter)
   Extracts the table and schema name from +name+