aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix logs name consistency.kennyj2012-05-191-6/+5
| | |
* | | Merge pull request #5872 from evtuhovich/prepared_statement_fixAaron Patterson2012-05-251-10/+10
|\ \ \ | |_|/ |/| | Remove prepared statement from system query in postgresql adapter
| * | Remove prepared statement from system query in postgresql adapterIvan Evtukhovich2012-05-121-10/+10
| | |
* | | Whitespaces :scissors:Rafael Mendonça França2012-05-231-1/+1
| | |
* | | PGconn doesn't accepts :checkout_timeout option.Rafael Mendonça França2012-05-231-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.kennyj2012-05-201-3/+7
| |/ |/|
* | Merge pull request #6238 from pwnall/pgsql_bytea_limitAaron Patterson2012-05-171-8/+19
|\ \ | | | | | | Postgresql doesn't accept limits on binary (bytea) columns.
| * | Postgresql doesn't accept limits on binary (bytea) columns.Victor Costan2012-05-091-8/+19
| |/
* | Removes NetAddr dependencyDan McClain2012-05-081-6/+7
| |
* | Converts inet and cidr columns to NetAddr::CIDRDan Seaver2012-05-071-0/+28
| |
* | Adds migration and schema dump support for INET, CIDR, and MACADDRDan Seaver2012-05-051-4/+23
|/
* Merge pull request #3713 from kf8a/masterAaron Patterson2012-05-041-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 InfinitySven Bohm2011-11-211-2/+7
| |
* | Use arel nodes instead of raw sqlMarcelo Silveira2012-05-021-1/+4
| |
* | Merge pull request #5698 from dougcole/support_postgresql_partitioningAaron Patterson2012-04-271-6/+41
|\ \ | | | | | | Support postgresql partitioning by making INSERT RETURNING optional
| * | refactor configuration of insert_returningDoug Cole2012-04-071-14/+4
| | |
| * | pick better names and add a little documentationDoug Cole2012-04-011-8/+16
| | |
| * | refactorDoug Cole2012-03-311-13/+8
| | |
| * | add use_returning as a postgresql connection configDoug Cole2012-03-311-4/+46
| | |
* | | Restore .to_s to escape_hstoreRyan Fitzgerald2012-04-241-1/+1
| | |
* | | Always quote hstore keys and valuesRyan Fitzgerald2012-04-241-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.kennyj2012-03-151-1/+1
| |
* | Adds #create/drop_schema on the PostgreSQL Adapter.Travis Jeffery2012-03-071-0/+10
| |
* | Add #schema_names to PostgreSQL Adapter.Travis Jeffery2012-03-071-0/+11
| |
* | Remove NULLS FIRST/LAST. closes #5152kennyj2012-02-251-1/+1
| |
* | 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
| |