SQL · Transactions and integrity

isolation levels

Controls how concurrent transactions see each other’s work. PostgreSQL defaults to READ COMMITTED.

Syntax
set transaction isolation level …

Example

Open in the lab

More in this group

explain lock rows rollback savepoint transaction

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course