Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Moves column dump specific code to a module included in AbstractAdapter | Dan McClain | 2012-09-14 | 1 | -9/+66 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | Ensure disconnecting or reconnecting resets the transaction state | Jon Leighton | 2012-09-15 | 1 | -2/+2 | |
| | | ||||||
* | | Store the transaction number in the transaction object | Jon Leighton | 2012-09-15 | 1 | -1/+0 | |
|/ | | | | This avoids us having to manually increment and decrement it. | |||||
* | postgres, map scaled intervals to string datatype (#7518) | Yves Senn | 2012-09-06 | 1 | -1/+1 | |
| | ||||||
* | ActiveRecord support to PostgreSQL 9.2 JSON type | Dickson S. Guedes | 2012-09-05 | 1 | -1/+12 | |
| | | | | | | | | | 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 | |||||
* | Modularize postgresql adapter | Konstantin Shabanov | 2012-09-05 | 1 | -985/+136 | |
| | ||||||
* | Refactor AR::Result or inherits. Because we have redundant codes about | kennyj | 2012-08-22 | 1 | -8/+1 | |
| | ||||||
* | load active_support/core_ext/object/blank in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+0 | |
| | ||||||
* | Simulated & actual (manual/skipped) PostgreSQL auto-reconnection tests. | Steve Jorgensen | 2012-07-16 | 1 | -0/+1 | |
| | ||||||
* | Don't crash exception translation w/ nil result attribute. | Steve Jorgensen | 2012-07-16 | 1 | -1/+1 | |
| | | | | | | Exception.result is nil when attempting a query after PostgreSQL disconnect, resulting in new exception: NoMethodError: undefined method `error_field' for nil:NilClass | |||||
* | Merge pull request #6874 from robbkidd/rename_sequences_too | Aaron Patterson | 2012-07-10 | 1 | -0/+7 | |
|\ | | | | | Rename default sequence when table is renamed? [AR:postgres] | |||||
| * | Update psql adapter to rename a default pkey sequence when renaming a table. | Robb Kidd | 2012-06-27 | 1 | -0/+7 | |
| | | ||||||
* | | Unify the collation API for the database adpters | Rafael Mendonça França | 2012-07-01 | 1 | -4/+4 | |
| | | ||||||
* | | Support collate and ctype on the PostgreSQL. | kennyj | 2012-06-29 | 1 | -1/+20 | |
|/ | ||||||
* | Allow precision option for postgresql datetimes | Tony Schneider | 2012-06-22 | 1 | -0/+10 | |
| | | | | | | | | | | This patch addresses the difficulty of retrieving datetime fields. By default, the database holds a higher precision than the time as a String. This issue is discussed at length at the following links: - [#3519](https://github.com/rails/rails/issues/3519) - [#3520](https://github.com/rails/rails/issues/3520) Also, kudos to @mattscilipoti | |||||
* | Change minimum (default) log level in PostgreSQL to warning. | kennyj | 2012-06-18 | 1 | -1/+1 | |
| | ||||||
* | Add uuid type support to PostgreSQL adapter | Konstantin Shabanov | 2012-06-14 | 1 | -3/+7 | |
| | ||||||
* | Merge pull request #6477 from steveklabnik/close_discovered_pg_connection | Rafael Mendonça França | 2012-05-30 | 1 | -1/+2 | |
|\ | | | | | Properly discover a connection is closed in postgresql_adapter | |||||
| * | Properly discover a connection is closed in postgresql_adapter | Steve Klabnik | 2012-05-24 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | PQstatus doesn't properly test if future operations will succeed. A PQping function is added to libpq in PostgreSQL 9.1, but if we rely on it, everyone on earlier versions of Postgres is out of luck, and the pg gem wouldn't have the 'fix' until the next release. Thanks to @cbrecabarren and @ged for handling all the dirty details. Closes #3392. | |||||
* | | Merge pull request #6386 from kennyj/fix_logs_name_consistency | Aaron Patterson | 2012-05-30 | 1 | -6/+5 | |
|\ \ | | | | | | | Fix logs name consistency. | |||||
| * | | Fix logs name consistency. | kennyj | 2012-05-19 | 1 | -6/+5 | |
| | | | ||||||
* | | | Merge pull request #5872 from evtuhovich/prepared_statement_fix | Aaron Patterson | 2012-05-25 | 1 | -10/+10 | |
|\ \ \ | |_|/ |/| | | Remove prepared statement from system query in postgresql adapter | |||||
| * | | Remove prepared statement from system query in postgresql adapter | Ivan Evtukhovich | 2012-05-12 | 1 | -10/+10 | |
| | | | ||||||
* | | | Whitespaces :scissors: | Rafael Mendonça França | 2012-05-23 | 1 | -1/+1 | |
| | | | ||||||
* | | | PGconn doesn't accepts :checkout_timeout option. | Rafael Mendonça França | 2012-05-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | This option was added on cb6f839359bd894feb0a1105b79af72b336aa41e renaming the :wait_timeout option. Fix build http://travis-ci.org/#!/rails/rails/jobs/1413405 | |||||
* | | | Fix a problem of translate_exception method in Japanese. | kennyj | 2012-05-20 | 1 | -3/+7 | |
| |/ |/| | ||||||
* | | Merge pull request #6238 from pwnall/pgsql_bytea_limit | Aaron Patterson | 2012-05-17 | 1 | -8/+19 | |
|\ \ | | | | | | | Postgresql doesn't accept limits on binary (bytea) columns. | |||||
| * | | Postgresql doesn't accept limits on binary (bytea) columns. | Victor Costan | 2012-05-09 | 1 | -8/+19 | |
| |/ | ||||||
* | | Removes NetAddr dependency | Dan McClain | 2012-05-08 | 1 | -6/+7 | |
| | | ||||||
* | | Converts inet and cidr columns to NetAddr::CIDR | Dan Seaver | 2012-05-07 | 1 | -0/+28 | |
| | | ||||||
* | | Adds migration and schema dump support for INET, CIDR, and MACADDR | Dan Seaver | 2012-05-05 | 1 | -4/+23 | |
|/ | ||||||
* | Merge pull request #3713 from kf8a/master | Aaron Patterson | 2012-05-04 | 1 | -2/+7 | |
|\ | | | | | postgresql adapter should quote not a number and infinity correctly for float columns | |||||
| * | postgresql adapter handles quoting of not a number (NaN) and Infinity | Sven Bohm | 2011-11-21 | 1 | -2/+7 | |
| | | ||||||
* | | Use arel nodes instead of raw sql | Marcelo Silveira | 2012-05-02 | 1 | -1/+4 | |
| | | ||||||
* | | Merge pull request #5698 from dougcole/support_postgresql_partitioning | Aaron Patterson | 2012-04-27 | 1 | -6/+41 | |
|\ \ | | | | | | | Support postgresql partitioning by making INSERT RETURNING optional | |||||
| * | | refactor configuration of insert_returning | Doug Cole | 2012-04-07 | 1 | -14/+4 | |
| | | | ||||||
| * | | pick better names and add a little documentation | Doug Cole | 2012-04-01 | 1 | -8/+16 | |
| | | | ||||||
| * | | refactor | Doug Cole | 2012-03-31 | 1 | -13/+8 | |
| | | | ||||||
| * | | add use_returning as a postgresql connection config | Doug Cole | 2012-03-31 | 1 | -4/+46 | |
| | | | ||||||
* | | | Restore .to_s to escape_hstore | Ryan Fitzgerald | 2012-04-24 | 1 | -1/+1 | |
| | | | ||||||
* | | | Always quote hstore keys and values | Ryan Fitzgerald | 2012-04-24 | 1 | -2/+1 | |
|/ / | | | | | | | | | | | | | escape_hstore uses quotation marks around keys and values only if it seems necessary. However, it currently breaks in the presence of some non-ASCII characters. Instead of trying to guess exactly which characters are safe, it seems better to always use quotes. | |||||
* | | Fix GH #5430. A Payload name for schema_search_path should be SCHEMA. | kennyj | 2012-03-15 | 1 | -1/+1 | |
| | | ||||||
* | | Adds #create/drop_schema on the PostgreSQL Adapter. | Travis Jeffery | 2012-03-07 | 1 | -0/+10 | |
| | | ||||||
* | | Add #schema_names to PostgreSQL Adapter. | Travis Jeffery | 2012-03-07 | 1 | -0/+11 | |
| | | ||||||
* | | Remove NULLS FIRST/LAST. closes #5152 | kennyj | 2012-02-25 | 1 | -1/+1 | |
| | | ||||||
* | | prepared statements can be disabled | Aaron Patterson | 2012-02-21 | 1 | -2/+15 | |
| | | ||||||
* | | tag bind params with a bind param object | Aaron Patterson | 2012-02-20 | 1 | -1/+1 | |
| | | ||||||
* | | removed commented line. 3434 tests, 10531 assertions, 0 failures, 0 errors, ↵ | William Lawson | 2012-02-20 | 1 | -1/+0 | |
| | | | | | | | | 31 skips | |||||
* | | Restored ability to identify ID and Sequence from tables relying on a ↵ | William Lawson | 2012-02-20 | 1 | -16/+37 | |
| | | | | | | | | nonmatching sequence default value for PK. | |||||
* | | use Process.pid rather than $$ | Aaron Patterson | 2012-02-16 | 1 | -1/+1 | |
| | |