summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.11.txt3
-rw-r--r--docs/releases/2.0.txt17
2 files changed, 13 insertions, 7 deletions
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt
index a6955d1460..aede9c8e5d 100644
--- a/docs/releases/1.11.txt
+++ b/docs/releases/1.11.txt
@@ -490,6 +490,9 @@ Backwards incompatible changes in 1.11
Database backend API
--------------------
+This section describes changes that may be needed in third-party database
+backends.
+
* The ``DatabaseOperations.time_trunc_sql()`` method is added to support
``TimeField`` truncation. It accepts a ``lookup_type`` and ``field_name``
arguments and returns the appropriate SQL to truncate the given time field
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt
index 6c966c2d1b..32f7413331 100644
--- a/docs/releases/2.0.txt
+++ b/docs/releases/2.0.txt
@@ -280,6 +280,9 @@ bytestrings in certain code paths.
Database backend API
--------------------
+This section describes changes that may be needed in third-party database
+backends.
+
* The ``DatabaseOperations.datetime_cast_date_sql()``,
``datetime_cast_time_sql()``, ``datetime_trunc_sql()``, and
``datetime_extract_sql()`` methods now return only the SQL to perform the
@@ -292,13 +295,6 @@ Database backend API
* The first argument of ``SchemaEditor._alter_column_type_sql()`` is now
``model`` rather than ``table``.
-* To improve performance when streaming large result sets from the database,
- :meth:`.QuerySet.iterator` now fetches 2000 rows at a time instead of 100.
- The old behavior can be restored using the ``chunk_size`` parameter. For
- example::
-
- Book.objects.iterator(chunk_size=100)
-
Dropped support for Oracle 11.2
-------------------------------
@@ -417,6 +413,13 @@ Miscellaneous
* The default size of the Oracle test tablespace is increased from 20M to 50M
and the default autoextend size is increased from 10M to 25M.
+* To improve performance when streaming large result sets from the database,
+ :meth:`.QuerySet.iterator` now fetches 2000 rows at a time instead of 100.
+ The old behavior can be restored using the ``chunk_size`` parameter. For
+ example::
+
+ Book.objects.iterator(chunk_size=100)
+
.. _deprecated-features-2.0:
Features deprecated in 2.0