问题一
[Err] ERROR: relation “xxxx_seq” does not exist
解决办法:
1、创建xxxx_seq
create sequence xxxx_seq start with 1 increment by 1 no minvalue no maxvalue cache 1;
2、设置表test的ID字段的默认值为nextval(xxxx_seq )
alter table test alter column id set default nextval('xxxx_seq ');