News for hackers. Stuff that matters.
Re:Distributed locking with Postgres advisory locks by andreareina on Monday January 24, 2022 @04:44AM (#30055347)
Advisory locks can be taken at the session (i.e. outside/across transactions) level, and need not be tied to a database object (if you need to operate on multiple objects, which one are you going to lock?).

Simpler cases are supported by e.g. SELECT FOR UPDATE

There are no comments on this comment yet.