Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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. | |||||
* | | accept option for recreate db for postgres (same as mysql now) | artemk | 2011-08-04 | 1 | -2/+4 | |
|/ | ||||||
* | Refactor PostgreSQLAdapter a bit | Daniel Schierbeck | 2011-07-08 | 1 | -16/+18 | |
| | | | | | Move the private method #extract_schema_and_table into a separate Utils module so that it can be tested without resorting to #send. | |||||
* | Improve ordering of multiple columns on postgresql | Lucia Escanellas | 2011-06-24 | 1 | -1/+1 | |
| | | | | | * Only on postgresql, order("first asc, second asc") was invalid * Closes #1720 | |||||
* | Merge remote branch 'rails/master' into pg_schema_fu | Paul Gallagher | 2011-06-19 | 1 | -2/+2 | |
|\ | ||||||
| * | Remove trailing whitespaces | Guillermo Iguaran | 2011-06-12 | 1 | -2/+2 | |
| | | ||||||
* | | Make PostgreSQL adapter view-compatible | Paul Gallagher | 2011-06-19 | 1 | -3/+5 | |
| | | | | | | * amongst other things, allows meta_search to run against view-backed models | |||||
* | | make extract_schema_and_table a private method | Paul Gallagher | 2011-06-11 | 1 | -20/+17 | |
| | | ||||||
* | | remove table quoting in primary_key method | Paul Gallagher | 2011-06-11 | 1 | -1/+1 | |
| | | | | | | * add/cleanup tests | |||||
* | | apply private method indentation convention | Paul Gallagher | 2011-06-10 | 1 | -22/+22 | |
| | | | | | | * tidy test code and fix my typo | |||||
* | | Improve PostgreSQL adapter schema-awareness | Paul Gallagher | 2011-06-10 | 1 | -25/+51 | |
|/ | | | | | | | * table_exists? scoped by schema search path unless schema is explicitly named. Added tests and doc to clarify the behaviour * extract_schema_and_table tests and implementation extended to cover all cases * primary_key does not ignore schema information * add current_schema and schema_exists? methods * more robust table referencing in insert_sql and sql_for_insert methods | |||||
* | Revert "[activerecord][postgresql] verify if table has a schema(not ↵ | Jon Leighton | 2011-05-31 | 1 | -5/+6 | |
| | | | | | | public)". This caused a test breakage. See #1410 for details. This reverts commit c44418ea4e09cc81da47edbc9ac5f31c7e32c1b4. | |||||
* | [activerecord][postgresql] verify if table has a schema(not public) | Lucas Stephanou | 2011-05-27 | 1 | -6/+5 | |
| | ||||||
* | find sequences with pg schemas properly | Lucas Stephanou | 2011-05-27 | 1 | -4/+11 | |
| | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-25 | 1 | -2/+2 | |
|\ | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb | |||||
| * | Remove extra white spaces on ActiveRecord docs. | Sebastian Martinez | 2011-05-23 | 1 | -2/+2 | |
| | | ||||||
* | | Removed AS core_ext/kernel/requires as it's not used and is bad practice. | Josh Kalderimis | 2011-05-23 | 1 | -1/+0 | |
|/ |