aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* | prepared statements can be disabledAaron Patterson2012-02-211-2/+15
| |
* | tag bind params with a bind param objectAaron Patterson2012-02-201-1/+1
| |
* | removed commented line. 3434 tests, 10531 assertions, 0 failures, 0 errors, ↵William Lawson2012-02-201-1/+0
| | | | | | | | 31 skips
* | Restored ability to identify ID and Sequence from tables relying on a ↵William Lawson2012-02-201-16/+37
| | | | | | | | nonmatching sequence default value for PK.
* | use Process.pid rather than $$Aaron Patterson2012-02-161-1/+1
| |
* | database connections are automatically established after forking.Aaron Patterson2012-02-161-1/+5
| | | | | | | | Connection pools are 1:1 with pids.
* | PG column consults oid types when typecastingAaron Patterson2012-02-101-4/+15
| |
* | dynamically populate casting objects via the pg_type tableAaron Patterson2012-02-101-0/+17
| |
* | Merge branch 'joelhoffman-postgres_schema_builder' into instance_readerAaron Patterson2012-02-101-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 databaseJoel2012-02-081-0/+5
| | |
| * | Hstore values are all stringsJoel2012-02-081-1/+1
| | |
| * | string_to_hstore / hstore_to_string, serializingJoel2012-02-081-9/+18
| | |
| * | Additional hstore tests, supporting null values, better compliance with ↵Joel2012-02-081-21/+17
| | | | | | | | | | | | postgres docs
| * | add hstore to postgres native types and defaultsJoel2012-02-081-1/+5
| | |
* | | Merge branch 'master' into instance_readerAaron Patterson2012-02-101-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 statementsMarcelo Silveira2012-02-091-1/+2
| | | |
| * | | Added where option to add_index to support postgresql partial indicesMarcelo Silveira2012-02-091-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 togetherAaron Patterson2012-02-091-124/+124
| | |
* | | only unescape bytea after it has been read from the databaseAaron Patterson2012-02-071-6/+0
| | |
* | | pgcolumn knows how to typecast binary columnsAaron Patterson2012-02-071-0/+6
| | |
* | | columns are lazily typecast, so no more calls to `result_as_array`Aaron Patterson2012-02-071-1/+1
| | |
* | | taking column width in to account when fetching decimal fieldsAaron Patterson2012-02-071-1/+2
| | |
* | | many of the OIDs mapped and implementedAaron Patterson2012-02-071-1/+18
|/ /
* | prevents the database.yml template option from being passed to PGConnSean Kirby2012-02-061-1/+1
| |
* | Remove useless argument in #columns.Sebastian Martinez2012-02-021-1/+1
| |
* | use the class method to (un)escape binary valuesAaron Patterson2012-02-011-2/+2
| |
* | made the result set object act more like an arrayAaron Patterson2012-01-311-1/+1
| |
* | avoid useless is_a checksAaron Patterson2012-01-191-8/+8
| |
* | delete reaping frequency from the db configAaron Patterson2012-01-051-4/+6
| |
* | Postgresql: restore previous behaviour regarding to nil values in connection ↵Lars Kanis2012-01-051-0/+1
| | | | | | | | specification Hash
* | Postgresql: Allow setting of any libpq connection parametersLars Kanis2012-01-031-17/+23
| |
* | Support establishing connection on ActiveRecord::Model.Jon Leighton2011-12-281-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 Leighton2011-12-241-3/+3
| |
* | do not compile regexp on every callAaron Patterson2011-12-201-16/+14
| |
* | hstores can cycleAaron Patterson2011-12-201-4/+31
| |
* | can create hstore records via AR APIAaron Patterson2011-12-201-5/+9
| |
* | multiple key / values workAaron Patterson2011-12-201-1/+4
| |
* | PostgreSQL hstore types are automatically deserialized from the database.Aaron Patterson2011-12-201-0/+4
| |
* | pg columns should understand the hstore typeAaron Patterson2011-12-201-47/+53
| |
* | implements automatic EXPLAIN logging for slow queriesXavier Noria2011-12-021-2/+7
| |
* | Revert "Use any instead of length"José Valim2011-11-281-1/+1
| | | | | | | | This reverts commit 1756629835d39f60ef4c96aff81ac503c71b98b7.
* | Use any instead of lengthRahul P. Chaudhari2011-11-271-1/+1
|/
* removing deprecated methodsAaron Patterson2011-11-191-4/+0
|
* adding visitors to the respective adaptersAaron Patterson2011-11-191-0/+1
|
* Merge pull request #3521 from ↵Aaron Patterson2011-11-061-2/+1
| | | | | | nulogy/fix_postgres_adapter_to_handle_spaces_between_schemas Fix postgres adapter to handle spaces between schemas
* implements AR::Relation#explainXavier Noria2011-11-051-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) indexesVlad Jebelev2011-11-041-3/+13
|
* clear statement cache when tables are alteredAaron Patterson2011-10-271-0/+6
|
* Merge pull request #3258 from ileitch/3-1-stableAaron Patterson2011-10-201-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 Patterson2011-10-181-11/+43
| | | | fixes #3335