#28062: Using QuerySet.iterator() with pgBouncer leads to nonexistent cursor 
errors
-------------------------------------+-------------------------------------
     Reporter:  Sergey Fursov        |                    Owner:  François
                                     |  Freitag
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.11
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"6a2624286b0501942522726bfdcb18537a86ce7c" 6a26242]:
 {{{
 #!CommitTicketReference repository=""
 revision="6a2624286b0501942522726bfdcb18537a86ce7c"
 [1.11.x] Fixed #28062 -- Added a setting to disable server-side cursors on
 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
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28062#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.5ac27bfa894abe9f415d3fbc493badcc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to