#37000: cursor_iter relies on GC for server-side cursor cleanup, causing
transaction abort after savepoint rollback
-------------------------------------+-------------------------------------
     Reporter:  Ratskó László        |                    Owner:  (none)
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  4.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  iterator, server-    |             Triage Stage:  Accepted
  side-cursor, savepoint, psycopg3   |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * cc: Simon Charette (added)
 * owner:  Huwaiza => (none)
 * stage:  Ready for checkin => Accepted
 * status:  assigned => new

Comment:

 Huwaiza please refrain from assigning ticket to yourself mid conversation
 with reports and changing ticket status -- RFC is a status meant that the
 patch is ready to be checked in and there's no patch here.

 Refer to [https://docs.djangoproject.com/en/6.0/internals/contributing
 /triaging-tickets/#:~:text=Ready%20for%20checkin%E2%80%9D.%20You the
 triaging ticket documentation].

 -----

 Thanks for confirming Ratskó, I'll see if I can write a regression test
 that reproduces the issue as I've been unable to do so yet. #28062 is a
 related ticket, savepoint rollback might have been a cause all along.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37000#comment:4>
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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019d1ce67266-9d2bd1af-4b18-4a97-aa84-224e3c06d9bc-000000%40eu-central-1.amazonses.com.

Reply via email to