字节跃动客· 14612 阅读 ·2013-11-05 # postgresqlpostgresql 修改id的自增起始数方法:把当前最大的id做为当前的id自增起始数使用语句:<codeselectsetval(&39;your_table_id_seq&39;,(selectmax(id)from表名));</code如何查看<codeyour_table_id_seq</cod