News for hackers. Stuff that matters.
Re:Postgres sequences can skip 32 unexpectedly by stubish on Monday July 19, 2021 @02:56AM (#27879952)
Yes, I think you are right. The update locks the row containing the last id, and concurrent transactions block if they too need to grab the lock.

(so performance wise, a sequence is still better due to less locking, but if you can't have holes it seems fine)

There are no comments on this comment yet.