Transactions: BEGIN, COMMIT, ROLLBACK - PostgreSQL for Developers

Publicado em: 02 Julho 2026
no canal de: 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.


Nesta página do site você pode assistir ao vídeo on-line Transactions: BEGIN, COMMIT, ROLLBACK - PostgreSQL for Developers duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário The Software Mentor 02 Julho 2026, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2 vezes e gostou 0 espectadores. Boa visualização!