Re: multiple sequence number for one column - Mailing list pgsql-general

From David Johnston
Subject Re: multiple sequence number for one column
Date
Msg-id 077DA5F9-F783-4388-BF19-42E582DC89EE@yahoo.com
Whole thread Raw
In response to multiple sequence number for one column  (mirthcyy <mirthcyy@gmail.com>)
List 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 by date:

Previous
From: Greg Smith
Date:
Subject: Re: Fwd: Re: SSDD reliability
Next
From: Toby Corkindale
Date:
Subject: SMART attributes for SSD (was: SSDD reliability)