Re:Postgres sequences can skip 32 unexpectedly
by lawrjone on Friday July 16, 2021 @10:43AM
(#27856729)
Yep, this is particularly relevant when building pagination. If you use the primary key, which itself is sortable and based on a sequence, you might be surprised when you skip over rows that were yet to be committed because the IDs won't respect transaction commit order.
[ Parent
| on HN ]
There are no comments on this comment yet.