Transactions: BEGIN, COMMIT, ROLLBACK - PostgreSQL for Developers

Pubblicato il: 02 luglio 2026
sul canale di: The Software Mentor
2
0

Transactions: BEGIN, COMMIT, ROLLBACK - part of PostgreSQL for Developers.
PostgreSQL from the inside out - fundamentals through internals and ops.

In this lesson:
Any two writes that must succeed or fail together must be inside an explicit BEGIN / COMMIT block
Statements outside a transaction block auto-commit instantly — there is no undo path
Use SAVEPOINT when you need partial rollback inside a long transaction without aborting everything
A ROLLBACK does not run automatically on error in psql scripts — check for explicit error handling

Chapters:
0:00 Intro
0:15 What Transactions Give You
0:29 Walkthrough
0:43 Walkthrough
1:01 Under the Hood: Row Versions During a Transaction
1:19 Watching ROLLBACK Undo an Insert
1:31 Review Lens: Wrapping Related Writes in a Transaction
1:48 Recap

Module: Transactions & ACID
Every command and code example in this video is executed and verified before publishing.


In questa pagina del sito puoi guardare il video online Transactions: BEGIN, COMMIT, ROLLBACK - PostgreSQL for Developers della durata di ore minuti seconda in buona qualità , che l'utente ha caricato The Software Mentor 02 luglio 2026, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2 volte e gli è piaciuto 0 spettatori. Buona visione!