"Suvarna" <[EMAIL PROTECTED]> writes: > We are facing a problem in nextval of sequence. The problem is as = > follows, > If the server shuts down abrupotly because of power failuar or any other > cause then the sequences tend to skip few numbers.
This is not a bug, it is the designed behavior. It's not really different from the case of a number going unused because a transaction does nextval() and then rolls back --- you cannot assume that the sequence of used values has no holes, in any case. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly