mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #33308 -- Added support for psycopg version 3.
Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
d44ee518c4
commit
09ffc5c121
@@ -256,10 +256,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.
|
||||
* :meth:`.QuerySet.iterator()` now uses `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.
|
||||
|
||||
.. _server-side cursors: https://www.psycopg.org/docs/usage.html#server-side-cursors
|
||||
|
||||
* Added MySQL support for the ``'isolation_level'`` option in
|
||||
:setting:`OPTIONS` to allow specifying the :ref:`transaction isolation level
|
||||
|
||||
Reference in New Issue
Block a user