可能重复: 如何在PostgreSQL查询中显示行号? 在Postgresql PostgreSQL中重新排序带有标识符的列使用带子 选择的更新重新排序
我只是问在PostgreSQL中是否存在这样的可能性:如果我有5行并且在一列中有数字1, 2, 3, 4, 5并且在那些列中不是主键如果我删除说tird行postgreSQL重新枚举这个列所以我可以1, 2, 3, 4代替1, 2, 4, 5?
1, 2, 3, 4, 5
1, 2, 3, 4
1, 2, 4, 5
postgresql triggers tabbing
postgresql ×1
tabbing ×1
triggers ×1