summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorFrançois Freitag <mail@franek.fr>2016-06-03 15:31:21 -0700
committerTim Graham <timograham@gmail.com>2017-01-11 09:25:37 -0500
commitf3b7c059367a4e82bbfc7e4f0d42b10975e79f0c (patch)
treed64dedfcd04cfbe8d7599aa6411597cccba6eb17 /docs/releases
parent53bffe8d03f01bd3214a5404998cb965fb28cd0b (diff)
Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL.
Thanks to Josh Smeaton for the idea of implementing server-side cursors in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin Turner for their previous work. Also Simon Charette and Tim Graham for review.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/1.11.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt
index 9be1f4c53d..9bb9a2e903 100644
--- a/docs/releases/1.11.txt
+++ b/docs/releases/1.11.txt
@@ -273,6 +273,11 @@ Database backends
* Added the :setting:`TEST['TEMPLATE'] <TEST_TEMPLATE>` setting to let
PostgreSQL users specify a template for creating the test database.
+* :meth:`.QuerySet.iterator()` now uses :ref:`server-side cursors
+ <psycopg2:server-side-cursors>` on PostgreSQL. This feature transfers some of
+ the worker memory load (used to hold query results) to the database and might
+ increase database memory usage.
+
Email
~~~~~
@@ -527,6 +532,10 @@ Database backend API
* Renamed the ``ignores_quoted_identifier_case`` feature to
``ignores_table_name_case`` to more accurately reflect how it is used.
+* The ``name`` keyword argument is added to the
+ ``DatabaseWrapper.create_cursor(self, name=None)`` method to allow usage of
+ server-side cursors on backends that support it.
+
Dropped support for PostgreSQL 9.2 and PostGIS 2.0
--------------------------------------------------