Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

When postgresql sequences get out of sync?

$
0
0

For the third time it has happened to me that a sequence has been set to an initial value (zero or one, not sure) while in the table, there are around 1500 records. When it happens, new rows cannot be inserted from my application. So I would like to know possible causes for the sequence to be out of sync like that. Because I have no idea why this problem is occurring.


Viewing all articles
Browse latest Browse all 1138

Trending Articles