Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | database connections are automatically established after forking. | Aaron Patterson | 2012-02-16 | 1 | -1/+5 |
| | | | | | | | | Connection pools are 1:1 with pids. | ||||
* | | PG column consults oid types when typecasting | Aaron Patterson | 2012-02-10 | 1 | -4/+15 |
| | | |||||
* | | dynamically populate casting objects via the pg_type table | Aaron Patterson | 2012-02-10 | 1 | -0/+17 |
| | | |||||
* | | Merge branch 'joelhoffman-postgres_schema_builder' into instance_reader | Aaron Patterson | 2012-02-10 | 1 | -24/+38 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | | Also support writing the hstore back to the database | Joel | 2012-02-08 | 1 | -0/+5 |
| | | | |||||
| * | | Hstore values are all strings | Joel | 2012-02-08 | 1 | -1/+1 |
| | | | |||||
| * | | string_to_hstore / hstore_to_string, serializing | Joel | 2012-02-08 | 1 | -9/+18 |
| | | | |||||
| * | | Additional hstore tests, supporting null values, better compliance with ↵ | Joel | 2012-02-08 | 1 | -21/+17 |
| | | | | | | | | | | | | postgres docs |