1. 03 12月, 2016 1 次提交
  2. 02 12月, 2016 1 次提交
    • S
      Stop using the `pg` Float encoder · 22042331
      Sean Griffin 提交于
      PG's type map assumes that all Ruby floats are going to a field with an
      OID of type float4 or float8, and generates text which is invalid syntax
      for other types. Since the gem can handle floats properly without this
      encoder (albeit slightly slower), we can continue to use that as we have
      in prior versions of Rails.
      
      Fixes #27246
      22042331
  3. 23 11月, 2016 1 次提交
    • Y
      For `PostgreSQL >= 9.4` use `gen_random_uuid()` · b915b11c
      Yaw Boakye 提交于
      Since 9.4, PostgreSQL recommends using `pgcrypto`'s `gen_random_uuid()`
      to generate version 4 UUIDs instead of the functions in the `uuid-ossp`
      extension.
      
      These changes uses the appropriate UUID function depending on the
      underlying PostgreSQL server's version, while maintaining
      `uuid_generate_v4()` in older migrations.
      b915b11c
  4. 28 10月, 2016 1 次提交
  5. 14 10月, 2016 1 次提交
  6. 14 9月, 2016 1 次提交
  7. 01 9月, 2016 3 次提交
    • N
      Fix case insensitive check for text column in pg · 4c2f7ee3
      nanaya 提交于
      There's no 'text to text' casting in the cast table so the feature detection fails.
      4c2f7ee3
    • N
      Use proper casting · 501e979e
      nanaya 提交于
      501e979e
    • S
      Remove deprecated handling of PG Points · b347156b
      Sean Griffin 提交于
      There are some minor changes to the point type as I had forgotten that
      this will affect the behavior of `t.point` in migrations and the schema
      dumper so we need to handle those as well.
      
      I'll say this again so I can convince myself to come up with a better
      structure... TYPES SHOULD NOT CARE ABOUT SCHEMA DUMPING AND WE NEED TO
      BETTER SEPARATE THESE.
      b347156b
  8. 26 8月, 2016 1 次提交
  9. 07 8月, 2016 2 次提交
  10. 05 8月, 2016 2 次提交
  11. 26 7月, 2016 1 次提交
  12. 19 7月, 2016 1 次提交
  13. 24 5月, 2016 1 次提交
  14. 21 5月, 2016 1 次提交
  15. 30 4月, 2016 1 次提交
  16. 25 4月, 2016 3 次提交
  17. 24 4月, 2016 1 次提交
  18. 20 4月, 2016 1 次提交
  19. 19 4月, 2016 1 次提交
  20. 16 4月, 2016 1 次提交
  21. 04 4月, 2016 1 次提交
  22. 09 3月, 2016 1 次提交
  23. 06 2月, 2016 1 次提交
  24. 03 2月, 2016 2 次提交
  25. 01 2月, 2016 1 次提交
  26. 31 1月, 2016 2 次提交
  27. 30 1月, 2016 1 次提交
  28. 15 1月, 2016 1 次提交
  29. 13 1月, 2016 1 次提交
  30. 30 12月, 2015 1 次提交
    • D
      Make `postgresql_version` public · 8ad1eeaf
      Derek Prior 提交于
      This is useful to libraries that want to feature gate based on the
      version of PostgreSQL the user is connected to. For instance, I want to
      know if the user is connected to a version of Postgres that supports
      concurrent materialized view refreshes. I could add that as a method on
      the adapter as a PR, but rails has no need for this itself.
      
      Rails is already using the postgresql_version for its own feature gating
      and this makes that possible for other libraries.
      8ad1eeaf
  31. 18 12月, 2015 1 次提交
  32. 30 11月, 2015 1 次提交