Table of Contents

NAME

begin -- begins a transaction

SYNOPSIS

begin [transaction|work]

DESCRIPTION

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.

SEE ALSO

abort(l) , end(l) .


Table of Contents