Table of Contents
begin -- begins a transaction
begin [transaction|work]
This command begins a user transaction which Postgres will
guarantee is serializable with respect to all concurrently executing transactions.
Postgres uses two-phase locking to perform this task. If the transaction
is committed, Postgres will ensure that all updates are done or none of
them are done. Transactions have the standard ACID (atomic, consistent,
isolatable, and durable) property.
abort(l)
, end(l)
.
Table of Contents