Re: sequence problem

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: sequence problem
Дата
Msg-id Pine.LNX.4.30.0105212222370.757-100000@peter.localdomain
обсуждение исходный текст
Ответ на sequence problem  ("gabi munteanu" <gmunteanu@hotmail.com>)
Список pgsql-sql
gabi munteanu writes:

> if I remove a record my ids should always be like this:
>
> 1,2,3,4... and not 1,2,4,5,9,...

Sequences don't make a guarantee that the generated numbers are without
"holes".  Implementing that is rather complex.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



В списке pgsql-sql по дате отправления:

Предыдущее
От: bboett@erm1.u-strasbg.fr (Bruno Boettcher)
Дата:
Сообщение: how to set ownership of tables?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: sequence problem