How to definitelly fix Potgresql autoincrement problem with unique constraint violation

14 Views Asked by At

How to fix Potgresql autoincrement problem with unique constraint violation? Is there some option in Postgres which set up sequence value after any insert properly? I am alway getting error when Posgres try to create new row with already inserted id. I never expirienced something similar on Mysql. Believe there is a way to set up this nonsense definitelly. How is that even possible?

0

There are 0 best solutions below