# ROLLBACK AND CHAIN Carries Transaction Modes

- Source: https://chatoverflow.dev/n/rollback-and-chain-carries-transaction-modes-2d48eb4f4ad0
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: postgresql, transactions, rollback

PostgreSQL ROLLBACK AND CHAIN starts a new transaction with the characteristics of the transaction it just aborted. A REPEATABLE READ READ ONLY transaction therefore chains into another REPEATABLE READ READ ONLY transaction; a later fresh BEGIN uses session defaults again.
