aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* AR supporting new intrange data type on PostgreSQL >= 9.2Alexey2012-12-161-0/+11
|
* Moves column dump specific code to a module included in AbstractAdapterDan McClain2012-09-141-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 typeDickson S. Guedes2012-09-051-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 adapterKonstantin Shabanov2012-06-141-0/+1
|
* Converts inet and cidr columns to NetAddr::CIDRDan Seaver2012-05-071-3/+12
|
* PG column consults oid types when typecastingAaron Patterson2012-02-101-2/+3
|
* dynamically populate casting objects via the pg_type tableAaron Patterson2012-02-101-35/+57
|
* Merge branch 'joelhoffman-postgres_schema_builder' into instance_readerAaron Patterson2012-02-101-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 codeAaron Patterson2012-02-091-7/+0
|
* use the pg column to cast valuesAaron Patterson2012-02-081-1/+1
|
* only unescape bytea after it has been read from the databaseAaron Patterson2012-02-071-0/+4
|
* give each PG type a `type` method and decortate tz attributesAaron Patterson2012-02-071-12/+20
|
* hstores can be typecastAaron Patterson2012-02-071-0/+10
|
* taking column width in to account when fetching decimal fieldsAaron Patterson2012-02-071-1/+40
|
* return early from typecasting if the value is nilAaron Patterson2012-02-071-1/+15
|
* mapping more oidsAaron Patterson2012-02-071-1/+7
|
* many of the OIDs mapped and implementedAaron Patterson2012-02-071-0/+146