Re: multiple sequence number for one column

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: multiple sequence number for one column
Дата
Msg-id 077DA5F9-F783-4388-BF19-42E582DC89EE@yahoo.com
обсуждение исходный текст
Ответ на multiple sequence number for one column  (mirthcyy <mirthcyy@gmail.com>)
Список pgsql-general
>
> Is there a good way to solve this issue?
>
> Thanks a lot
>

Yes, multiple actually.

.......

one db centric solution is to create a sequence for each customer id and then nextval that specific sequence when you
needa new id. 

Would need to know more about the number of customers and how often you expect to assign new IDs - to each - to
recommendother possibilities. 


David J.



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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Fwd: Re: SSDD reliability
Следующее
От: Toby Corkindale
Дата:
Сообщение: SMART attributes for SSD (was: SSDD reliability)