On 2024-09-09, Karsten Hilbert <karsten.hilb...@gmx.net> wrote:
> Am Mon, Sep 09, 2024 at 10:00:11AM -0000 schrieb Jon Ribbens via Python-list:
>> So the Python code is half-way through a transaction when it throws
>> a (non-database-related) exception and that thread of execution is
>> aborted. The database connection returns to the pool,
>
> How does it return to the pool ?

It's just any circumstance in which a bit of your code uses a database
"cursor" (which isn't a cursor) that it didn't create moments before.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to