mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Refs #28062 -- Doc'd PostgreSQL server-side cursors as a backwards incompatible change.
This commit is contained in:
parent
9d7e2c7b44
commit
2919a08c20
@ -640,6 +640,17 @@ you must render model states using the ``clear_delayed_apps_cache()`` method as
|
||||
described in :ref:`writing your own migration operation
|
||||
<writing-your-own-migration-operation>`.
|
||||
|
||||
Server-side cursors on PostgreSQL
|
||||
---------------------------------
|
||||
|
||||
The change to make :meth:`.QuerySet.iterator()` use server-side cursors on
|
||||
PostgreSQL prevents running Django with `pgBouncer` in transaction pooling
|
||||
mode. To reallow that, use the :setting:`DISABLE_SERVER_SIDE_CURSORS
|
||||
<DATABASE-DISABLE_SERVER_SIDE_CURSORS>` setting (added in Django 1.11.1) in
|
||||
:setting:`DATABASES`.
|
||||
|
||||
See :ref:`transaction-pooling-server-side-cursors` for more discussion.
|
||||
|
||||
Miscellaneous
|
||||
-------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user