aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Custom index type support with :using.doabit2013-03-241-1/+11
|
* add uuid primary key supportAaron Patterson2013-03-221-0/+9
|
* push the mysql add_column up to the abstract adapterAaron Patterson2013-03-221-10/+4
|
* allow multiple add columnsAaron Patterson2013-03-221-1/+1
|
* pull add_column_options! off the pg connection classAaron Patterson2013-03-221-0/+13
|
* add a pg visitor for dealing with schema modificationAaron Patterson2013-03-221-4/+21
|
* also rename indexes when a table or column is renamedYves Senn2013-02-201-3/+6
| | | | When a table or a column is renamed related indexes kept their name. This will lead to confusing names. This patch renames related indexes when a column or a table is renamed. Only indexes with names generated by rails will be renamed. Indexes with custom names will not be renamed.
* Add postgresql range types supportbUg2013-01-231-8/+0
|
* Don't rely on Hash key's orderingVitor Baptista2013-01-161-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.2Alexey2012-12-161-0/+8
|
* Fix #8414. Performance problem with postgresql adapter primary_key function.kennyj2012-12-051-3/+2
|
* pg_namespace table isn't used.kennyj2012-12-051-1/+0
|
* Refactoring, testing and documenting pg_connection.distinctSemyon Perepelitsa2012-11-211-13/+10
|
* Postgresql doesn't accepts limits on text columns.Victor Costan2012-11-201-0/+7
|
* Migration of docs to 1.9 hash syntaxAvnerCohen2012-10-231-1/+1
|
* #7914 Remove code for unsupported postgreSQL version.Arturo Pie2012-10-131-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 Pie2012-10-131-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 #5920Yves Senn2012-10-051-1/+1
|
* Query for sequence info also should be markd as SCHEMA.kennyj2012-09-151-3/+3
|
* Query for loading index info should be marked as SCHEMA.kennyj2012-09-151-1/+1
|
* Modularize postgresql adapterKonstantin Shabanov2012-09-051-0/+446