News for hackers. Stuff that matters.
Re:Postgres sequences can skip 32 unexpectedly by marcosdumay on Friday July 16, 2021 @10:00AM (#27856284)
At this point, you can just add a key to the column, set it to max(column) + 1 in an update, and forget about the sequence.

Either way, it's better done in a column that isn't the primary key.

There are no comments on this comment yet.