Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the right type_map | Rafael Mendonça França | 2013-12-05 | 1 | -4/+2 |
| | |||||
* | Typo fixes [ci skip] | Akshay Vishnoi | 2013-11-30 | 1 | -1/+1 |
| | |||||
* | cast json values on write to be consistent with reading from the db. | Severin Schoepke | 2013-10-25 | 1 | -0/+4 |
| | | | | See also commit 5ac2341fab689344991b2a4817bd2bc8b3edac9d | ||||
* | `ActiveRecord::Store` works together with PG `hstore` columns. | Yves Senn | 2013-10-25 | 1 | -0/+8 |
| | | | | | | This is necessary because as of 5ac2341 `hstore` columns are always stored as `Hash` with `String` keys. `ActiveRecord::Store` expected the attribute to be an instance of `HashWithIndifferentAccess`, which led to the bug. | ||||
* | PG adapter deals with negative money values formatted with parenthesis. | Yves Senn | 2013-08-26 | 1 | -0/+5 |
| | | | | Closes #11899. | ||||
* | cast hstore values on write to be consistent with reading from the db. | Yves Senn | 2013-08-08 | 1 | -4/+4 |
| | |||||
* | Add OID::Bit for supporting bit string. | kennyj | 2013-04-16 | 1 | -2/+12 |
| | |||||
* | fix for the bytea/binary nil value bug | Matt Aimonetti | 2013-04-14 | 1 | -0/+1 |
| | |||||
* | Make Postgres point type correspond to ruby array with two floats inside | Martin Schürrer | 2013-03-25 | 1 | -0/+11 |
| | |||||
* | Fix PostgreSQL TIMESTAMP WITH TIME ZONE to return ActiveSupport::Time | Troy Kruthoff | 2013-03-01 | 1 | -4/+1 |
| | | | | | | | | | | In an AR model a timestamptz attribute would return a ruby string and AR tests did not check for any type casting. Previous tests would pass only because an assert_equal was being used on a Time.utc object, which will parse the right side of the eq to a valid Time instance for comparision. switch to test instance of Time instead of ActiveSupport::TimeWithZone | ||||
* | Fix typo | Rafael Mendonça França | 2013-01-31 | 1 | -2/+2 |
| | |||||
* | reloading type map on extension changing | Aaron Patterson | 2013-01-29 | 1 | -0/+4 |
| | |||||
* | Add postgresql range types support | bUg | 2013-01-23 | 1 | -11/+65 |
| | |||||
* | Support for PostgreSQL's ltree data type. | Rob Worley | 2013-01-04 | 1 | -0/+1 |
| | |||||
* | Reuse the Column integer converter | Rafael Mendonça França | 2013-01-03 | 1 | -1/+1 |
| | |||||
* | AR supporting new intrange data type on PostgreSQL >= 9.2 | Alexey | 2012-12-16 | 1 | -0/+11 |
| | |||||
* | Moves column dump specific code to a module included in AbstractAdapter | Dan McClain | 2012-09-14 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having column related schema dumper code in the AbstractAdapter. The code remains the same, but by placing it in the AbstractAdapter, we can then overwrite it with Adapter specific methods that will help with Adapter specific data types. The goal of moving this code here is to create a new migration key for PostgreSQL's array type. Since any datatype can be an array, the goal is to have ':array => true' as a migration option, turning the datatype into an array. I've implemented this in postgres_ext, the syntax is shown here: https://github.com/dockyard/postgres_ext#arrays Adds array migration support Adds array_test.rb outlining the test cases for array data type Adds pg_array_parser to Gemfile for testing Adds pg_array_parser to postgresql_adapter (unused in this commit) Adds schema dump support for arrays Adds postgres array type casting support Updates changelog, adds note for inet and cidr support, which I forgot to add before Removing debugger, Adds pg_array_parser to JRuby platform Removes pg_array_parser requirement, creates ArrayParser module used by PostgreSQLAdapter | ||||
* | ActiveRecord support to PostgreSQL 9.2 JSON type | Dickson S. Guedes | 2012-09-05 | 1 | -0/+9 |
| | | | | | | | | | This implements the support to encode/decode JSON data to/from database and creating columns of type JSON using a native type [1] supported by PostgreSQL from version 9.2. [1] http://www.postgresql.org/docs/9.2/static/datatype-json.html | ||||
* | Add uuid type support to PostgreSQL adapter | Konstantin Shabanov | 2012-06-14 | 1 | -0/+1 |
| | |||||
* | Converts inet and cidr columns to NetAddr::CIDR | Dan Seaver | 2012-05-07 | 1 | -3/+12 |
| | |||||
* | PG column consults oid types when typecasting | Aaron Patterson | 2012-02-10 | 1 | -2/+3 |
| | |||||
* | dynamically populate casting objects via the pg_type table | Aaron Patterson | 2012-02-10 | 1 | -35/+57 |
| | |||||
* | Merge branch 'joelhoffman-postgres_schema_builder' into instance_reader | Aaron Patterson | 2012-02-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * joelhoffman-postgres_schema_builder: Also support writing the hstore back to the database Hstore values are all strings string_to_hstore / hstore_to_string, serializing don't test schema where hstore not installed schema dumper tests for hstore Additional hstore tests, supporting null values, better compliance with postgres docs add hstore to postgres native types and defaults Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | ||||
* | removing dead code | Aaron Patterson | 2012-02-09 | 1 | -7/+0 |
| | |||||
* | use the pg column to cast values | Aaron Patterson | 2012-02-08 | 1 | -1/+1 |
| | |||||
* | only unescape bytea after it has been read from the database | Aaron Patterson | 2012-02-07 | 1 | -0/+4 |
| | |||||
* | give each PG type a `type` method and decortate tz attributes | Aaron Patterson | 2012-02-07 | 1 | -12/+20 |
| | |||||
* | hstores can be typecast | Aaron Patterson | 2012-02-07 | 1 | -0/+10 |
| | |||||
* | taking column width in to account when fetching decimal fields | Aaron Patterson | 2012-02-07 | 1 | -1/+40 |
| | |||||
* | return early from typecasting if the value is nil | Aaron Patterson | 2012-02-07 | 1 | -1/+15 |
| | |||||
* | mapping more oids | Aaron Patterson | 2012-02-07 | 1 | -1/+7 |
| | |||||
* | many of the OIDs mapped and implemented | Aaron Patterson | 2012-02-07 | 1 | -0/+146 |