How to reset postgres' primary key sequence when it falls out of sync? How to reset postgres' primary key sequence when it falls out of sync? postgresql postgresql