serial
create table test_searial(id serial,id2 serial2); -- 查看自增的设置: SELECT c.relname FROM pg_class c WHERE c.relkind = ‘S‘; ``
postgres 设置自增字段
原文:https://www.cnblogs.com/qianxunman/p/13347181.html