Re: Serial Type

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Serial Type
Дата
Msg-id Pine.LNX.4.30.0105021925280.759-100000@peter.localdomain
обсуждение исходный текст
Ответ на Serial Type  ("Christian Marschalek" <cm@chello.at>)
Список pgsql-general
Christian Marschalek writes:

> The serial data type automaticaly takes the next higher value, but what
> if there's a drop and I want to assing 3 even if there are 20 records
> and the next higher number would be 21 not 3?

Then you can't use the serial type.  Coding hole-filling serial numbers
can be quite tricky and slow.

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


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

Предыдущее
От: Karel Zak
Дата:
Сообщение: Re: chr() command in PG7.03?
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: Re: Stranger than fiction - EXPLAIN results