Top
New
Ask
Show
Jobs
microflash
11d ago
Stop Using Serial in Postgres
www.naiyerasif.com
52
5
pauldraper
One advantage to using sequences (not serial, but close) is that you can drive all IDs from one sequence, helping to prevent mistakes of ID misuse.
foobarkey
No and this is all well known stuff, none of it seems like a good reason to stop using
1 more
linotype
Identity columns in Postgres:
https://www.postgresql.org/docs/17/ddl-identity-columns.html