RefLib

Reference library for AI

Back

postgresql_16:7.1.45.3 Notes

PostgreSQL 16 > Reference > SQL Commands > BEGIN > Notes

START TRANSACTION (see postgresql_16:7.1.178) has the same functionality as BEGIN.

Use COMMIT (see postgresql_16:7.1.51) or ROLLBACK (see postgresql_16:7.1.165) to terminate a transaction block.

Issuing BEGIN when already inside a transaction block will provoke a warning message. The state of the transaction is not affected. To nest transactions within a transaction block, use savepoints (see (see postgresql_16:7.1.168)).

For reasons of backwards compatibility, the commas between successive *transaction_modes* can be omitted.

Back