| От | Tom Lane |
|---|---|
| Тема | Re: bug in 7.3.2 |
| Дата | |
| Msg-id | 15375.1141142386@sss.pgh.pa.us обсуждение |
| Ответ на | bug in 7.3.2 ("Suvarna" <suvarnat@cygnus.stpp.soft.net>) |
| Список | pgsql-hackers |
"Suvarna" <suvarnat@cygnus.stpp.soft.net> 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
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера