Sujet : Re: psycopg2 positioning of .commit() (Posting On Python-List Prohibited)
De : Karsten.Hilbert (at) *nospam* gmx.net (Karsten Hilbert)
Groupes : comp.lang.pythonDate : 09. Sep 2024, 18:29:27
Autres entêtes
Message-ID : <mailman.3.1725902969.31645.python-list@python.org>
References : 1 2 3 4 5 6 7 8 9 10 11
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