| От | Peter Childs |
|---|---|
| Тема | Re: Increment a sequence by more than one |
| Дата | |
| Msg-id | a2de01dd0708060000k504525bdt99177726bb7af529@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Increment a sequence by more than one (Michael Glaesemann <grzm@seespotcode.net>) |
| Список | pgsql-sql |
On Aug 3, 2007, at 15:27 , Erik Jones wrote:
> Is there actually a requirement that the block of 5000 values not
> have gaps?
Good point.
> If not, why not make the versioned table's id column default to
> nextval from the same sequence?
Of course, the ids of the two tables could be interleaved in this
case. This might not be an issue, of course.
Michael Glaesemann
grzm seespotcode net
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера