psycopg2 positioning of .commit() (Posting On Python-List Prohibited)
Karsten Hilbert
Karsten.Hilbert at gmx.net
Mon Sep 9 13:29:27 EDT 2024
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 ?
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
More information about the Python-list
mailing list