Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | 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 | |
| | | ||||||
* | | pg columns should understand the hstore type | Aaron Patterson | 2011-12-20 | 1 | -47/+53 | |
| | | ||||||
* | | implements automatic EXPLAIN logging for slow queries | Xavier Noria | 2011-12-02 | 1 | -2/+7 | |
| | | ||||||
* | | Revert "Use any instead of length" | José Valim | 2011-11-28 | 1 | -1/+1 | |
| | | | | | | | | This reverts commit 1756629835d39f60ef4c96aff81ac503c71b98b7. | |||||
* | | Use any instead of length | Rahul P. Chaudhari | 2011-11-27 | 1 | -1/+1 | |
|/ | ||||||
* | removing deprecated methods | Aaron Patterson | 2011-11-19 | 1 | -4/+0 | |
| | ||||||
* | adding visitors to the respective adapters | Aaron Patterson | 2011-11-19 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #3521 from ↵ | Aaron Patterson | 2011-11-06 | 1 | -2/+1 | |
| | | | | | | nulogy/fix_postgres_adapter_to_handle_spaces_between_schemas Fix postgres adapter to handle spaces between schemas | |||||
* | implements AR::Relation#explain | Xavier Noria | 2011-11-05 | 1 | -1/+43 | |
| | | | | | | | | | | | | | | | | | | | This is a first implementation, EXPLAIN is highly dependent on the database and I have made some compromises. On one hand, the method allows you to run the most common EXPLAIN and that's it. If you want EXPLAIN ANALYZE in PostgreSQL you need to do it by hand. On the other hand, I've tried to construct a string as close as possible to the ones built by the respective shells. The rationale is that IMO the user should feel at home with the output and recognize it at first sight. Per database. I don't know whether this implementation is going to work well. Let's see whether people like it. | |||||
* | AR changes to support creating ordered (asc, desc) indexes | Vlad Jebelev | 2011-11-04 | 1 | -3/+13 | |
| | ||||||
* | clear statement cache when tables are altered | Aaron Patterson | 2011-10-27 | 1 | -0/+6 | |
| | ||||||
* | Merge pull request #3258 from ileitch/3-1-stable | Aaron Patterson | 2011-10-20 | 1 | -1/+7 | |
| | | | | Postgres: Do not attempt to deallocate a statement if the connection is no longer active. | |||||
* | reset prepared statement when schema changes imapact statement results. ↵ | Aaron Patterson | 2011-10-18 | 1 | -11/+43 | |
| | | | | fixes #3335 | |||||
* | Use the schema_search_path in prepared statements. | Juan M. Cuello | 2011-10-05 | 1 | -3/+4 | |
| | | | | | To allow the use of prepared statements when changing schemas in postgres, the schema search path is added to the sql key. | |||||
* | LRU should cache per process in postgresql. fixes #1339 | Aaron Patterson | 2011-09-07 | 1 | -10/+14 | |
| | ||||||
* | fixing view queries | Aaron Patterson | 2011-09-07 | 1 | -3/+5 | |
| | ||||||
* | use the supplied bind values | Aaron Patterson | 2011-09-07 | 1 | -1/+1 | |
| | ||||||
* | Merge commit 'refs/pull/2909/head' of https://github.com/rails/rails into rawr | Aaron Patterson | 2011-09-07 | 1 | -6/+4 | |
| | | | | | | * https://github.com/rails/rails: Postgresql adapter: added current_schema check for table_exists? Postgresql adapter: added current_schema check for table_exists? | |||||
* | Database adapters use a statement pool. | Aaron Patterson | 2011-09-06 | 1 | -5/+41 | |
| | | | | | | Database adapters use a statement pool for limiting the number of open prepared statments on the database. The limit defaults to 1000, but can be adjusted in your database config by changing 'statement_limit'. | |||||
* | Merge pull request #2021 from dasch/more_postgres_utils | Aaron Patterson | 2011-08-29 | 1 | -1/+3 | |
|\ | | | | | Make #extract_schema_and_table an instance method in Utils | |||||
| * | Make #extract_schema_and_table an instance method in Utils | Daniel Schierbeck | 2011-07-09 | 1 | -1/+3 | |
| | | | | | | | | Also, move the utils test into its own test case. | |||||
* | | Make it the responsibility of the connection to hold onto an ARel visitor ↵ | Jon Leighton | 2011-08-08 | 1 | -0/+4 | |
| | | | | | | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now. |