| От | Tom Lane |
|---|---|
| Тема | Re: Sequence id NOT incremented as expected |
| Дата | |
| Msg-id | 16524.1342793329@sss.pgh.pa.us обсуждение |
| Ответ на | Sequence id NOT incremented as expected (SINGHAL Harsh <harsh.singhal@cy-play.com>) |
| Ответы |
Re: Sequence id NOT incremented as expected
|
| Список | pgsql-bugs |
SINGHAL Harsh <harsh.singhal@cy-play.com> writes:
> * In an increasing sequence whose max value is set to
> 9223372036854775807 and cycle option is activated, as shown above,
> from 2147483647 to 9223372036854775807 it is displaying error
> "ERREUR: entier en dehors des limites" and after that it resets it
> to 1 which is normal for any sequence whose cycle option is activated.
You didn't show us any context here, but this sounds like you're trying
to store the sequence's result into a integer (not bigint) column.
If so, that's not a bug, it's just pilot error.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера