postgres主键自增设置初始值 - AichaelLee/Summary GitHub Wiki

select setval('testtable_id_seq',1000,false);