• S
    Correctly respect subtypes for PG arrays and ranges · 670e7941
    Sean Griffin 提交于
    The type registration was simply looking for the OID, and eagerly
    fetching/constructing the sub type when it was registered. However,
    numeric types have additional parameters which are extracted from the
    actual SQL string of the type during lookup, and can have their behavior
    change based on the result.
    
    We simply need to use the block form of registration, and look up the
    subtype lazily instead.
    
    Fixes #17935
    670e7941
postgresql_adapter.rb 26.0 KB