<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/backends/postgresql/test_server_side_cursors.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2024-01-12T20:40:18Z</updated>
<entry>
<title>Fixed #35028 -- Disabled server-side bindings for named cursors on psycopg &gt;= 3.</title>
<updated>2024-01-12T20:40:18Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2023-12-15T23:30:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=92d6cff6a2fee7a3f9244081b84fd82c50cc71aa'/>
<id>urn:sha1:92d6cff6a2fee7a3f9244081b84fd82c50cc71aa</id>
<content type='text'>
While we provide a `cursor_factory` based on the value of the
`server_side_bindings` option to `psycopg.Connection` it is ignored by
the `cursor` method when `name` is specified for `QuerySet.iterator()`
usage and it causes the usage of `psycopg.ServerCursor` which performs
server-side bindings.

Since the ORM doesn't generates SQL that is suitable for server-side
bindings when dealing with parametrized expressions a specialized cursor
must be used to allow server-side cursors to be used with client-side
bindings.

Thanks Richard Ebeling for the report.

Thanks Florian Apolloner and Daniele Varrazzo for reviews.
</content>
</entry>
<entry>
<title>Refs #34986 -- Fixed backends.postgresql.test_server_side_cursors.ServerSideCursorsPostgres tests for PyPy.</title>
<updated>2023-12-07T08:43:20Z</updated>
<author>
<name>Nick Pope</name>
<email>nick@nickpope.me.uk</email>
</author>
<published>2023-12-04T15:54:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=af6e7e3de8c6167ec1848c72915469442eb8a965'/>
<id>urn:sha1:af6e7e3de8c6167ec1848c72915469442eb8a965</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed typo in tests/backends/postgresql/test_server_side_cursors.py.</title>
<updated>2023-12-06T08:17:49Z</updated>
<author>
<name>Nick Pope</name>
<email>nick@nickpope.me.uk</email>
</author>
<published>2023-12-04T11:29:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2c6e4a29b0de44739dc5719013f4f980c9f0d74d'/>
<id>urn:sha1:2c6e4a29b0de44739dc5719013f4f980c9f0d74d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #28893 -- Removed unnecessary dict.items() calls.</title>
<updated>2017-12-06T22:17:59Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2017-12-06T22:17:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=a862af383969ade774f6b0fa1d331bc87b188b89'/>
<id>urn:sha1:a862af383969ade774f6b0fa1d331bc87b188b89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after values() and values_list().</title>
<updated>2017-11-21T15:33:56Z</updated>
<author>
<name>Dražen Odobašić</name>
<email>dodobas@quaternion.co</email>
</author>
<published>2017-11-19T15:13:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d97f026a7ab5212192426e45121f7a52751a2044'/>
<id>urn:sha1:d97f026a7ab5212192426e45121f7a52751a2044</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added assertion helpers for PostgreSQL's server-side cursor tests.</title>
<updated>2017-11-21T13:21:09Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2017-11-21T13:11:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=6cb6382639cbd29c8348b42c4d43b02c950eff3a'/>
<id>urn:sha1:6cb6382639cbd29c8348b42c4d43b02c950eff3a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reorganized backends tests.</title>
<updated>2017-06-21T16:00:47Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2017-02-11T20:37:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8cb1b1fd8e529d1896daeb089ea726109e0ba4f7'/>
<id>urn:sha1:8cb1b1fd8e529d1896daeb089ea726109e0ba4f7</id>
<content type='text'>
</content>
</entry>
</feed>
