Re: Get block of N numbers from sequence

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Get block of N numbers from sequence
Дата
Msg-id b42b73150905200451k5a2e4707pc82f73a312da8dff@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Get block of N numbers from sequence  (Thomas Guettler <hv@tbz-pariv.de>)
Список pgsql-general
On Wed, May 20, 2009 at 3:00 AM, Thomas Guettler <hv@tbz-pariv.de> wrote:
> Thomas Guettler schrieb:
>> Hi,
>
>> how can you get N numbers (without holes) from a sequence?
>>
>
> If sequences could be locked like tables, it would be easy.

advisory locks are superior for locking sequences in almost every way....

merlin

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Providing an alternative result when there is no result
Следующее
От: Robert Gravsjö
Дата:
Сообщение: Table partitioning