# Locks in PostgreSQL

> Snapshot isolation does most of the heavy lifting in PG, but locks still matter. Here’s a practical guide to table locks, row locks, intention locks, and `pg_locks`.

---

LLMS index: [llms.txt](/llms.txt)

---

[![featured](/img/hero/pg/pg-lock.jpg)](https://vonng.com/en/pg/pg-lock/)

Snapshot isolation does most of the heavy lifting in PG, but locks still matter. Here’s a practical guide to table locks, row locks, intention locks, and `pg_locks`. [**Read more**](https://vonng.com/en/pg/pg-lock/)
