Skip to content
masterclass Buddy

PostgreSQL · Concept

Isolation levels

PostgreSQL provides four standard isolation-level names but three distinct behaviors. Read committed is the default; serializable gives the strongest protection and may require transaction retries.

Last updated

Syntax

SET TRANSACTION ISOLATION LEVEL { READ UNCOMMITTED | READ COMMITTED | REPEATABLE READ | SERIALIZABLE }

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • SET TRANSACTION
  • Read Committed Isolation Level
  • Repeatable Read Isolation Level
  • Serializable Isolation Level
  • serialization failure
  • snapshot isolation

Source: PostgreSQL: Documentation: 18: 13.2. Transaction Isolation. Checked 2026-11-03.