Re:Testing Postgres race conditions with synchronization bar...
by lirbank on Monday February 16, 2026 @05:12PM
(#47041038)
Nice - that's a good case for barriers too. When there's no row to SELECT FOR UPDATE against, you'd inject the barrier after acquiring the advisory lock and verify the second transaction blocks until the first commits.
[ Parent
| on HN ]
There are no comments on this comment yet.