P
Sep 14, 2026Postgres Advisory Locks Are Not the Lock You Think
I used pg_advisory_lock as a one-worker gate and got a lock that dies with the connection, no-ops behind a transaction pooler, and has no fencing token. Here's what to use instead.
Sep 14, 20263 min read0 reactions1 comments