Re: Serial

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Serial
Дата
Msg-id 407615.82627.qm@web31803.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Serial  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список pgsql-sql
--- > Yes there is, and you generally shouldn't do it.  There are issues with
> race conditions and misreferenced data that can happen when you try to
> reuse sequence numbers.
> 
> Sadly, some poorly defined business processes require this.
> 
> Are you required to have sequential numbers, or is just something that
> feels good / looks good?

The following link develops the use of a gapless sequence:
http://www.varlena.com/GeneralBits/130.php

Regards,
Richard Broersma Jr.


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

Предыдущее
От: Hilary Forbes
Дата:
Сообщение: Re: Using a variable as a view name in a select
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Update problem.