Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| * | add hstore to postgres native types and defaults | Joel | 2012-02-08 | 1 | -1/+5 |
| | | |||||
* | | Merge branch 'master' into instance_reader | Aaron Patterson | 2012-02-10 | 1 | -1/+6 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | * master: Fix GH #4720. Routing problem with nested namespace and already camelized controller option. make Range#overlaps? accept Range of Time improved test case for partial indices Made schema dumper recognize partial indices' where statements Added where option to add_index to support postgresql partial indices | ||||
| * | | Made schema dumper recognize partial indices' where statements | Marcelo Silveira | 2012-02-09 | 1 | -1/+2 |
| | | | |||||
| * | | Added where option to add_index to support postgresql partial indices | Marcelo Silveira | 2012-02-09 | 1 | -0/+4 |
| |/ | | | | | | | | | | | | | | | | | | | | | The `add_index` method now supports a `where` option that receives a string with the partial index criteria. add_index(:accounts, :code, :where => "active") Generates CREATE INDEX index_accounts_on_code ON accounts(code) WHERE active | ||||
* | | fixing indentation, moving class methods together | Aaron Patterson | 2012-02-09 | 1 | -124/+124 |
| | | |||||
* | | only unescape bytea after it has been read from the database | Aaron Patterson | 2012-02-07 | 1 | -6/+0 |
| | | |||||
* | | pgcolumn knows how to typecast binary columns | Aaron Patterson | 2012-02-07 | 1 | -0/+6 |
| | | |||||
* | | columns are lazily typecast, so no more calls to `result_as_array` | Aaron Patterson | 2012-02-07 | 1 | -1/+1 |
| | | |||||
* | | taking column width in to account when fetching decimal fields | Aaron Patterson | 2012-02-07 | 1 | -1/+2 |
| | | |||||
* | | many of the OIDs mapped and implemented | Aaron Patterson | 2012-02-07 | 1 | -1/+18 |
|/ | |||||
* | prevents the database.yml template option from being passed to PGConn | Sean Kirby | 2012-02-06 | 1 | -1/+1 |
| | |||||
* | Remove useless argument in #columns. | Sebastian Martinez | 2012-02-02 | 1 | -1/+1 |
| | |||||
* | use the class method to (un)escape binary values | Aaron Patterson | 2012-02-01 | 1 | -2/+2 |
| | |||||
* | made the result set object act more like an array | Aaron Patterson | 2012-01-31 | 1 | -1/+1 |
| | |||||
* | avoid useless is_a checks | Aaron Patterson | 2012-01-19 | 1 | -8/+8 |
| | |||||
* | delete reaping frequency from the db config | Aaron Patterson | 2012-01-05 | 1 | -4/+6 |
| | |||||
* | Postgresql: restore previous behaviour regarding to nil values in connection ↵ | Lars Kanis | 2012-01-05 | 1 | -0/+1 |
| | | | | specification Hash | ||||
* | Postgresql: Allow setting of any libpq connection parameters | Lars Kanis | 2012-01-03 | 1 | -17/+23 |
| | |||||
* | Support establishing connection on ActiveRecord::Model. | Jon Leighton | 2011-12-28 | 1 | -1/+1 |
| | | | | | This is the 'top level' connection, inherited by any models that include ActiveRecord::Model or inherit from ActiveRecord::Base. | ||||
* | I herd you like modules. | Jon Leighton | 2011-12-24 | 1 | -3/+3 |
| | |||||
* | do not compile regexp on every call | Aaron Patterson | 2011-12-20 | 1 | -16/+14 |
| | |||||
* | hstores can cycle | Aaron Patterson | 2011-12-20 | 1 | -4/+31 |
| | |||||
* | can create hstore records via AR API | Aaron Patterson | 2011-12-20 | 1 | -5/+9 |
| | |||||
* | multiple key / values work | Aaron Patterson | 2011-12-20 | 1 | -1/+4 |
| | |||||
* | PostgreSQL hstore types are automatically deserialized from the database. | Aaron Patterson | 2011-12-20 | 1 | -0/+4 |
| |