Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|/ | |||||
* | on.upcase! | Akira Matsuda | 2011-05-19 | 1 | -1/+1 |
| | |||||
* | why not use JOIN statement for joining tables? (vol. 2) | Akira Matsuda | 2011-05-18 | 1 | -21/+12 |
| | |||||
* | remove unused table from FROM clause | Akira Matsuda | 2011-05-18 | 1 | -2/+0 |
| | | | | pg_namespace has not been used since this commit 29b0707f07f148d98515125dab44b73cfdc0a3d4 | ||||
* | why not use JOIN statement for joining tables? | Akira Matsuda | 2011-05-18 | 1 | -3/+3 |
| | |||||
* | supporting infinity and -infinity for timestamps in PG. fixes #544 | Aaron Patterson | 2011-05-13 | 1 | -0/+13 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-01 | 1 | -3/+7 |
|\ | | | | | | | | | Conflicts: railties/guides/source/contributing_to_ruby_on_rails.textile | ||||
| * | Merge branch 'master' of github.com:lifo/docrails | Dan Pickett | 2011-04-29 | 1 | -3/+7 |
| |\ | |||||
| | * | Fix #postgresql_version docs | Sebastian Martinez | 2011-04-22 | 1 | -1/+1 |
| | | | |||||
| | * | Make this docs more consistent with the rest of the docs present | Sebastian Martinez | 2011-04-22 | 1 | -1/+2 |
| | | | |||||
| | * | Added docs for #rename_table on some adapters | Sebastian Martinez | 2011-04-22 | 1 | -0/+3 |
| | | | |||||
| | * | Merge branch 'master' of git://github.com/rails/rails | Xavier Noria | 2011-04-23 | 1 | -39/+36 |
| | |\ | |||||
| | * | | Added docs for #indexes on adapters | Sebastian Martinez | 2011-04-22 | 1 | -1/+1 |
| | | | | |||||
* | | | | using bind parameters for updates | Aaron Patterson | 2011-04-30 | 1 | -0/+1 |
|/ / / | |||||
* | | | convert query results to a list of lists | Aaron Patterson | 2011-04-29 | 1 | -2/+1 |
| | | | |||||
* | | | requring pg ~> 0.11, so remove conditional code for supporting older ↵ | Aaron Patterson | 2011-04-29 | 1 | -56/+12 |
| | | | | | | | | | | | | versions of the gem | ||||
* | | | Make postgresql faster on development (thanks to @tapajos). | José Valim | 2011-04-29 | 1 | -0/+8 |
| | | | |||||
* | | | postgresql supports prepare statement deletes | Aaron Patterson | 2011-04-29 | 1 | -22/+31 |
| | | | |||||
* | | | Merged pull request #310 from beanieboi/master. | Aaron Patterson | 2011-04-26 | 1 | -1/+10 |
|\ \ \ | |_|/ |/| | | Added support for tsvector datatype in postgres | ||||
| * | | Added tsvector Datatype Support | Benjamin Fritsch | 2011-04-26 | 1 | -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/docrails | Xavier Noria | 2011-04-23 | 1 | -4/+6 |
|\ \ \ | | |/ | |/| | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | ||||
| * | | copy-edits 0e2644c | Xavier Noria | 2011-04-23 | 1 | -1/+1 |
| | | | |||||
| * | | Added docs for #drop_database on MySQL adapter | Sebastian Martinez | 2011-04-22 | 1 | -1/+1 |
| | | | |||||
| * | | Added docs for #disconnect! on adapters | Sebastian Martinez | 2011-04-22 | 1 | -1/+2 |
| | | | |||||
| * | | Added missing docs for clear_cache! on adapters | Sebastian Martinez | 2011-04-22 | 1 | -0/+1 |
| | | | |||||
| * | | Have a more connection specific rdoc for +supports_statement_cache?+ | Sebastian Martinez | 2011-04-22 | 1 | -2/+2 |
| | | | |||||
| * | | Removed ON() on distinct comment | Sebastian Martinez | 2011-04-22 | 1 | -1/+1 |
| | | | |||||
* | | | split indexes and column types on money / binary iteration | Aaron Patterson | 2011-04-22 | 1 | -6/+5 |
| | | | |||||
* | | | fetch result row arrays from pg in C and return early if there are no money ↵ | Aaron Patterson | 2011-04-22 | 1 | -31/+36 |
| | | | | | | | | | | | | or binary columns. :heart: | ||||
* | | | removing incorrect comment and string concatenation | Aaron Patterson | 2011-04-22 | 1 | -4/+1 |
| | | | |||||
* | | | Move #exec_insert to abstract adapter's database statements. | Ken Collins | 2011-04-22 | 1 | -4/+0 |
| |/ |/| | |||||
* | | stop using distinct on for the unique id queries. [#6450 state:resolved] | Aaron Patterson | 2011-04-21 | 1 | -1/+1 |
|/ | |||||
* | Fix test_load_save in test/cases/binary_test.rb (thanks @tenderlove for ↵ | Jon Leighton | 2011-04-17 | 1 | -2/+1 |
| | | | | actually working out how to fix it) | ||||
* | using the database adapter to typecast before executing prepared statement | Aaron Patterson | 2011-04-14 | 1 | -1/+13 |
| |