aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
* Improve PostgreSQL adapter schema-awarenessPaul Gallagher2011-06-101-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 Leighton2011-05-311-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 Stephanou2011-05-271-6/+5
|
* find sequences with pg schemas properlyLucas Stephanou2011-05-271-4/+11
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-251-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 Martinez2011-05-231-2/+2
| |
* | Removed AS core_ext/kernel/requires as it's not used and is bad practice.Josh Kalderimis2011-05-231-1/+0
|/
* on.upcase!Akira Matsuda2011-05-191-1/+1
|
* why not use JOIN statement for joining tables? (vol. 2)Akira Matsuda2011-05-181-21/+12
|
* remove unused table from FROM clauseAkira Matsuda2011-05-181-2/+0
| | | | pg_namespace has not been used since this commit 29b0707f07f148d98515125dab44b73cfdc0a3d4
* why not use JOIN statement for joining tables?Akira Matsuda2011-05-181-3/+3
|
* supporting infinity and -infinity for timestamps in PG. fixes #544Aaron Patterson2011-05-131-0/+13
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-011-3/+7
|\ | | | | | | | | Conflicts: railties/guides/source/contributing_to_ruby_on_rails.textile
| * Merge branch 'master' of github.com:lifo/docrailsDan Pickett2011-04-291-3/+7
| |\
| | * Fix #postgresql_version docsSebastian Martinez2011-04-221-1/+1
| | |
| | * Make this docs more consistent with the rest of the docs presentSebastian Martinez2011-04-221-1/+2
| | |
| | * Added docs for #rename_table on some adaptersSebastian Martinez2011-04-221-0/+3
| | |
| | * Merge branch 'master' of git://github.com/rails/railsXavier Noria2011-04-231-39/+36
| | |\
| | * | Added docs for #indexes on adaptersSebastian Martinez2011-04-221-1/+1
| | | |
* | | | using bind parameters for updatesAaron Patterson2011-04-301-0/+1
|/ / /
* | | convert query results to a list of listsAaron Patterson2011-04-291-2/+1
| | |
* | | requring pg ~> 0.11, so remove conditional code for supporting older ↵Aaron Patterson2011-04-291-56/+12
| | | | | | | | | | | | versions of the gem
* | | Make postgresql faster on development (thanks to @tapajos).José Valim2011-04-291-0/+8
| | |
* | | postgresql supports prepare statement deletesAaron Patterson2011-04-291-22/+31
| | |
* | | Merged pull request #310 from beanieboi/master.Aaron Patterson2011-04-261-1/+10
|\ \ \ | |_|/ |/| | Added support for tsvector datatype in postgres
| * | Added tsvector Datatype SupportBenjamin Fritsch2011-04-261-1/+10
| | | | | | | | | Applied Patch from https://rails.lighthouseapp.com/projects/8994/tickets/5577-suport-from-tsvector-data-type-in-postgresql
* | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-231-4/+6
|\ \ \ | | |/ | |/| | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
| * | copy-edits 0e2644cXavier Noria2011-04-231-1/+1
| | |
| * | Added docs for #drop_database on MySQL adapterSebastian Martinez2011-04-221-1/+1
| | |
| * | Added docs for #disconnect! on adaptersSebastian Martinez2011-04-221-1/+2
| | |
| * | Added missing docs for clear_cache! on adaptersSebastian Martinez2011-04-221-0/+1
| | |
| * | Have a more connection specific rdoc for +supports_statement_cache?+Sebastian Martinez2011-04-221-2/+2
| | |
| * | Removed ON() on distinct commentSebastian Martinez2011-04-221-1/+1
| | |
* | | split indexes and column types on money / binary iterationAaron Patterson2011-04-221-6/+5
| | |
* | | fetch result row arrays from pg in C and return early if there are no money ↵Aaron Patterson2011-04-221-31/+36
| | | | | | | | | | | | or binary columns. :heart:
* | | removing incorrect comment and string concatenationAaron Patterson2011-04-221-4/+1
| | |
* | | Move #exec_insert to abstract adapter's database statements.Ken Collins2011-04-221-4/+0
| |/ |/|
* | stop using distinct on for the unique id queries. [#6450 state:resolved]Aaron Patterson2011-04-211-1/+1
|/
* Fix test_load_save in test/cases/binary_test.rb (thanks @tenderlove for ↵Jon Leighton2011-04-171-2/+1
| | | | actually working out how to fix it)
* using the database adapter to typecast before executing prepared statementAaron Patterson2011-04-141-1/+13
|
* insert statements are prepared, but values are not escaped properlyAaron Patterson2011-04-141-0/+12
|
* use index based substitution for bind parametersAaron Patterson2011-04-131-2/+2
|
* remove so many nested if statementsAaron Patterson2011-04-111-9/+11
|
* wrap the pg_get_serial_sequence function and reuse it for the default ↵Aaron Patterson2011-04-111-2/+10
| | | | sequence name
* cache table exists queries in prepared statement cacheAaron Patterson2011-04-111-3/+6
|
* only use the primary_key method, refactor schema and table name parsingAaron Patterson2011-04-111-13/+15
|
* use prepared statements for primary key queriesAaron Patterson2011-04-111-2/+15
|
* last insert id can never be called, so remove that code pathAaron Patterson2011-04-111-11/+3
|
* we know the table and pk, so we can calculate a default sequence nameAaron Patterson2011-04-111-3/+4
|
* always look up pk and sequence unless both are providedAaron Patterson2011-04-111-6/+5
|