aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
* use prepared statements to fetch the last insert idAaron Patterson2011-03-211-3/+4
|
* Optimization for postgres adapter for add_column method. Set default and not ↵Timothy N. Tsvetkov2011-02-151-6/+10
| | | | null in one query
* log method takes an option list of bind valuesAaron Patterson2011-02-091-1/+1
|
* adjust query counts to be consistent across databases, make sure database ↵Aaron Patterson2011-02-041-2/+2
| | | | log the same things
* Cleaner way to extract the Postgres versionMatthew Rudy Jacobs2010-11-211-2/+6
|
* Fix Bug: disable_referential_integrity doesn't work for postgres 9.0.1Matthew Rudy Jacobs2010-11-211-4/+1
|
* use column names as order by complex function parameters, fix for postgresql ↵Raimonds Simanovskis2010-11-071-1/+1
| | | | | | adapter to correctly remove ASC/DESC Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Avoid warning: shadowing outer local variableSantiago Pastorino2010-11-051-2/+2
|
* Fixes queries using limits and punctuation in order, removes order("col1, ↵Santiago Pastorino2010-11-051-3/+3
| | | | | | col2") usage in favor of order(["col1", "col2"}) [#4597 state:committed]
* renaming exec in the PG adapterAaron Patterson2010-11-051-3/+3
|
* adding backwards compatibility for non-prepare statement handling driversAaron Patterson2010-10-261-0/+6
|
* setting the authorized session clears the statement cacheAaron Patterson2010-10-261-0/+1
|
* add a session authorization setter to the pg connectionAaron Patterson2010-10-261-0/+5
|
* avoiding statement cache if there are no bind valuesAaron Patterson2010-10-261-0/+11
|
* folding async_exec to execAaron Patterson2010-10-261-7/+0
|
* clear cache before resetting the connectionAaron Patterson2010-10-261-1/+1
|
* prepare the statement before we cache the keyAaron Patterson2010-10-261-2/+4
|
* bind substitution is working properlyAaron Patterson2010-10-261-7/+11
|
* bind parameters are now typecastAaron Patterson2010-10-261-1/+3
|
* basic bind parameters are workingAaron Patterson2010-10-261-1/+1
|
* initial exec() method is working in pg adapterAaron Patterson2010-10-261-0/+38
|
* Use ALTER INDEX syntax to rename an indexMichał Łomnicki2010-10-191-0/+4
|
* in regexps, the dot in a character class is not a metacharacterXavier Noria2010-10-151-2/+2
|
* Update the PostgreSQL adapter documentationCarl Lerche2010-10-131-2/+0
|
* rb_thread_select should always be used in DB drivers when available.Carl Lerche2010-10-131-1/+1
|
* create fewer objects, call fewer methods in extract_pg_identifier_from_nameAaron Patterson2010-10-041-3/+3
|
* * + flatten is not required in >= Ruby 1.8.7Aaron Patterson2010-10-041-1/+1
|
* DRY up postgresql quote logicAaron Patterson2010-09-291-11/+14
|
* fixing where clause indentationAaron Patterson2010-09-291-4/+4
|
* use consistent method calls for column inspectionAaron Patterson2010-09-291-1/+1
|
* require pg when this adapter is loadedAaron Patterson2010-09-291-5/+4
|
* only reopen ConnectionAdapters onceAaron Patterson2010-09-291-2/+0
|
* use inheritence to deal with custom methodsAaron Patterson2010-09-291-6/+11
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-4/+4
| | | | 's/[ \t]*$//' -i {} \;)
* Removing most of the symbol to proc usage in Active RecordPrem Sichanugrist2010-08-131-1/+1
| | | | This will hopefully make Active Record run a bit more faster.
* ensuring that description does not exceed 100 columnsNeeraj Singh2010-08-021-4/+8
|
* remove useless ternary in PostgreSQL adapterAaron Patterson2010-07-141-1/+1
|
* PostgreSQLAdapter#query string interpolation calls to_s for usAaron Patterson2010-07-141-1/+1
|
* PostgreSQLAdapter#query bail early if there is no column and dry up our ↵Aaron Patterson2010-07-141-4/+6
| | | | conditionals
* Let's initialize instance variables in the postgres adapter.Aaron Patterson2010-07-141-0/+3
|
* reducing range comparisons when converting types to sqlAaron Patterson2010-07-131-3/+4
|
* only loop through all rows and columns once in the postgres adapterAaron Patterson2010-07-131-23/+23
|
* use constants instead of magic numbers. meowAaron Patterson2010-07-131-1/+3
|
* our method is modifying the original array, so refactor to use destructive ↵Aaron Patterson2010-07-121-5/+4
| | | | methods
* PostgreSQLAdapter#select_raw removing dead codeAaron Patterson2010-07-121-3/+0
|
* PostgreSQLAdapter#select_raw use each_with_index to avoid multiple array lookupsAaron Patterson2010-07-121-5/+5
|
* PostgreSQLAdapter#select_raw fields and results are empty even if ntuples is 0Aaron Patterson2010-07-121-25/+21
|
* refactor PostgreSQLAdapter#result_as_array to create fewer Range objectsAaron Patterson2010-07-121-3/+3
|
* cleaning up PostgreSQLAdapter#selectAaron Patterson2010-07-121-8/+2
|
* refactoring the postgres adapter index method to avoid inject and use ↵Aaron Patterson2010-06-261-4/+4
| | | | | | values_at. [#4976 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>