TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Stop Using Serial in Postgres
54 点
作者
microflash
8 个月前
3 条评论
pauldraper
8 个月前
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
8 个月前
Collapse
No and this is all well known stuff, none of it seems like a good reason to stop using
评论 #41469277 未加载
linotype
8 个月前
Identity columns in Postgres: <a href="https://www.postgresql.org/docs/17/ddl-identity-columns.html" rel="nofollow">https://www.postgresql.org/docs/17/ddl-identity-columns.html</a>