summaryrefslogtreecommitdiff
path: root/tests/backends/test_postgresql.py
AgeCommit message (Collapse)Author
2017-05-06[1.11.x] Fixed #28062 -- Added a setting to disable server-side cursors on ↵François Freitag
PostgreSQL. When a connection pooler is set up in transaction pooling mode, queries relying on server-side cursors fail. The DISABLE_SERVER_SIDE_CURSORS setting in DATABASES disables server-side cursors for this use case. Backport of 88336fdbb5e101fa25825b737169c0d6af2faa93 from master
2017-04-03[1.11.x] Fixed flake8 warning on Python 2.Tim Graham
2017-01-11Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL.François Freitag
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.