Hacker News

Favorites Setup
Comment by sgarland | original | Grieving the loss of details
[−]sgarland · 2026-10-11 Sun 12:38 UTC · link
> it's a FOR UPDATE so the entire table gets locked and other processes get totally blocked.

You’d think they’d have found this issue out before now; if there’s no usable index for the predicate, non-locking reads would’ve also been slow.

Also, I look forward to the next update wherein your colleagues create an index, and then discover the joys of gap locking under REPEATABLE-READ.