diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2017-06-01 13:38:12 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2017-06-06 13:49:49 +0000 |
commit | eeb83fe9702f861608deab9d6b038f8a510ccc8d (patch) | |
tree | 117dbc3d36c9b7b12bc71624b7bbe23e70f13cc0 /activerecord/test/cases/clone_test.rb | |
parent | d1d39710cc4c525ab8f515eba70cb9ab4134fc64 (diff) | |
download | rails-eeb83fe9702f861608deab9d6b038f8a510ccc8d.tar.gz rails-eeb83fe9702f861608deab9d6b038f8a510ccc8d.tar.bz2 rails-eeb83fe9702f861608deab9d6b038f8a510ccc8d.zip |
PostgreSQL 10 converts unknown OID 705 to text 25
- Rename test cases from `unknown` to `unrecognized` since unknown OID
is one of possible unrecognized types by Rails
- Use "select 'pg_catalog.pg_class'::regclass" whose OID is 2205, which
will not be converted to recognized type in PostgreSQL 10.
activerecord_unittest=# select oid, typname from pg_type where oid in (2205, 2277);
oid | typname
------+----------
2205 | regclass
2277 | anyarray
(2 rows)
Addresses #28868
Diffstat (limited to 'activerecord/test/cases/clone_test.rb')
0 files changed, 0 insertions, 0 deletions