pgsql “xxx_id_seq” does not exist等类似错误
插入pg数据库时候
“id” int4 NOT NULL DEFAULT nextval(‘xxx_id_seq’::regclass)
报错:ERROR: relation “xxx_id_seq” does not exist
解决:
改为:“id” serial NOT NULL
本站文章除注明转载外,均为原创文章。转载请注明:文章转载自:
葱爆GIS—刘博方GIS博客(
https://liubf.com )