summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoulder Sprinters <boulder-sprinters@djangoproject.com>2007-04-18 22:37:22 +0000
committerBoulder Sprinters <boulder-sprinters@djangoproject.com>2007-04-18 22:37:22 +0000
commite076f10cb55b1d7353a40ae31136d5bbf1fad111 (patch)
tree5c243bacb3d3c028d7cb99139035da02d4fd0d33
parentb38a73e01a4873ef70f7b7b4c9536be0defbbd2d (diff)
boulder-oracle-sprint: Fixed autoindexes_primary_keys value for several
backends git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/db/backends/ado_mssql/base.py2
-rw-r--r--django/db/backends/postgresql/base.py2
-rw-r--r--django/db/backends/postgresql_psycopg2/base.py2
-rw-r--r--django/db/backends/sqlite3/base.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/django/db/backends/ado_mssql/base.py b/django/db/backends/ado_mssql/base.py
index 8845f0f79b..8cc01862fd 100644
--- a/django/db/backends/ado_mssql/base.py
+++ b/django/db/backends/ado_mssql/base.py
@@ -90,7 +90,7 @@ class DatabaseWrapper(local):
allows_group_by_ordinal = True
allows_unique_and_pk = True
-autoindexes_primary_keys = False
+autoindexes_primary_keys = True
needs_datetime_string_cast = True
needs_upper_for_iops = False
supports_constraints = True
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py
index 741d3a3c8c..3abd6d3a49 100644
--- a/django/db/backends/postgresql/base.py
+++ b/django/db/backends/postgresql/base.py
@@ -106,7 +106,7 @@ class DatabaseWrapper(local):
allows_group_by_ordinal = True
allows_unique_and_pk = True
-autoindexes_primary_keys = False
+autoindexes_primary_keys = True
needs_datetime_string_cast = True
needs_upper_for_iops = False
supports_constraints = True
diff --git a/django/db/backends/postgresql_psycopg2/base.py b/django/db/backends/postgresql_psycopg2/base.py
index 22fcfeac67..9e846304ce 100644
--- a/django/db/backends/postgresql_psycopg2/base.py
+++ b/django/db/backends/postgresql_psycopg2/base.py
@@ -74,7 +74,7 @@ class DatabaseWrapper(local):
allows_group_by_ordinal = True
allows_unique_and_pk = True
-autoindexes_primary_keys = False
+autoindexes_primary_keys = True
needs_datetime_string_cast = False
needs_upper_for_iops = False
supports_constraints = True
diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py
index bd829f23a1..abd32a28d0 100644
--- a/django/db/backends/sqlite3/base.py
+++ b/django/db/backends/sqlite3/base.py
@@ -101,7 +101,7 @@ class SQLiteCursorWrapper(Database.Cursor):
allows_group_by_ordinal = True
allows_unique_and_pk = True
-autoindexes_primary_keys = False
+autoindexes_primary_keys = True
needs_datetime_string_cast = True
needs_upper_for_iops = False
supports_constraints = False