序列的奇怪问题
我刚刚在表中创建新条目时遇到问题,该条目归结为生成重复的 id。
当查看数据库中定义的序列时,我注意到我拥有的所有序列都是重复的。每个序列 table_column_id_seq
(原来的序列)现在都有一个孪生 table_column_id_seq1
。
怎么会发生这种事?我一定做错了什么?
I just had an issue with creating a new entry in a table which boiled down to a duplicate id being generated.
When looking at the sequences defined in the DB, I noticed, that ALL sequences I have were duplicated. Each sequence table_column_id_seq
, which were the original ones, now has a twin table_column_id_seq1
.
How could this happen? What must I have done wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论