I'm using sequences in a PostgreSQL database to insert rows into tables.
When creating the sequences I have never used the CYCLE
option on them. I mean they can generate pretty big numbers (in the order of 2^63 as far as I remeber) and I don't really see why I would like a sequence to go back to zero. So my question is:
When should I use CYCLE
while creating a sequence?
Do you have an example where it makes sense?