RefLib

Reference library for AI

Back

postgresql_16:6.9.7 Explicit Subtransactions

PostgreSQL 16 > Server Programming > PL/Python — Python Procedural Language > Explicit Subtransactions

Recovering from errors caused by database access as described in (see postgresql_16:6.9.6.2) can lead to an undesirable situation where some operations succeed before one of them fails, and after recovering from that error the data is left in an inconsistent state. PL/Python offers a solution to this problem in the form of explicit subtransactions.

Subsections

Back