method
extract_pg_identifier_from_name
extract_pg_identifier_from_name(name)
private
Hide source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 1040 def extract_pg_identifier_from_name(name) match_data = name[0,1] == '"' ? name.match(/\"([^\"]+)\"/) : name.match(/([^\.]+)/) if match_data rest = name[match_data[0].length..-1] rest = rest[1..-1] if rest[0,1] == "." [match_data[1], (rest.length > 0 ? rest : nil)] end end


