Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |