postgres-locking
Use when writing or reviewing PostgreSQL code that takes a row lock (FOR UPDATE, FOR NO KEY UPDATE, FOR SHARE, FOR KEY SHARE), LOCK TABLE, or an advisory lock, serializes concurrent writers, answers a race-condition finding, or enforces a cap, limit, or last-one guard under concurrency. Decides when code may lock and what to use instead.
Pinned to revision 79ab4ead5734, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.