Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't rely on Hash key's ordering | Vitor Baptista | 2013-01-16 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | If we set encoding latin1 for a PostgreSQL database, it calls PostgreSQLAdapter::create_database with options that have, among other things: { 'encoding' => 'latin1' } Then, we use reverse_merge(:encoding => "utf8") to setup the default encoding. In the end, the hash looks like: { :encoding => 'utf8', 'encoding' => 'latin1' } The call to options.symbolize_keys calls to_sym on each_key of this Hash. It usually means that the encoding passed overwrites the default utf8, but it's not guaranteed. So, we shouldn't rely on it. The same was happening in ActiveRecord::ConnectionHandling. | ||||
* | AR supporting new intrange data type on PostgreSQL >= 9.2 | Alexey | 2012-12-16 | 1 | -0/+8 |
| | |||||
* | Fix #8414. Performance problem with postgresql adapter primary_key function. | kennyj | 2012-12-05 | 1 | -3/+2 |
| | |||||
* | pg_namespace table isn't used. | kennyj | 2012-12-05 | 1 | -1/+0 |
| | |||||
* | Refactoring, testing and documenting pg_connection.distinct | Semyon Perepelitsa | 2012-11-21 | 1 | -13/+10 |
| | |||||
* | Postgresql doesn't accepts limits on text columns. | Victor Costan | 2012-11-20 | 1 | -0/+7 |
| | |||||
* | Migration of docs to 1.9 hash syntax | AvnerCohen | 2012-10-23 | 1 | -1/+1 |
| | |||||
* | #7914 Remove code for unsupported postgreSQL version. | Arturo Pie | 2012-10-13 | 1 | -3/+0 |
| | | | | | | | Remove parsing of character type default values for 8.1 formatting since Rails doesn't support postgreSQL 8.1 anymore. Remove misleading comment unrelated to code. | ||||
* | #7914 Using a better way to get the defaults from db. | Arturo Pie | 2012-10-13 | 1 | -5/+5 |
| | | | | | | | | | According to postgreSQL documentation: (http://www.postgresql.org/docs/8.2/static/catalog-pg-attrdef.html) we should not be using 'adsrc' field because this field is unaware of outside changes that could affect the way that default values are represented. Thus, I changed the queries to use "pg_get_expr(adbin, adrelid)" instead of the historical "adsrc" field. | ||||
* | PostgreSQL, quote table names when fetching the primary key. Closes #5920 | Yves Senn | 2012-10-05 | 1 | -1/+1 |
| | |||||
* | Query for sequence info also should be markd as SCHEMA. | kennyj | 2012-09-15 | 1 | -3/+3 |
| | |||||
* | Query for loading index info should be marked as SCHEMA. | kennyj | 2012-09-15 | 1 | -1/+1 |
| | |||||
* | Modularize postgresql adapter | Konstantin Shabanov | 2012-09-05 | 1 | -0/+446 |