• P
    Improve PostgreSQL adapter schema-awareness · 5c7f8c92
    Paul Gallagher 提交于
    * table_exists? scoped by schema search path unless schema is explicitly named. Added tests and doc to clarify the behaviour
    * extract_schema_and_table tests and implementation extended to cover all cases
    * primary_key does not ignore schema information
    * add current_schema and schema_exists? methods
    * more robust table referencing in insert_sql and sql_for_insert methods
    5c7f8c92
postgresql_adapter.rb 38.2 KB