Re: Many to many link tables with history? - Mailing list pgsql-sql

From Dylan Sanders
Subject Re: Many to many link tables with history?
Date
Msg-id CANmgjsc4=bZ6CjE_eoJT5Ox6dsJjz1f98NcVgxegC0Pfka2wnw@mail.gmail.com
Whole thread
In response to Re: Many to many link tables with history?  (skinner@britvault.co.uk (Craig R. Skinner))
Responses Re: Many to many link tables with history?
List pgsql-sql
 unregister-pattern soe219@gmail.com


On Thu, Oct 10, 2013 at 3:23 PM, Craig R. Skinner <skinner@britvault.co.uk> wrote:
On 2013-10-08 Tue 18:04 PM |, Craig R. Skinner wrote:
> Hi folks, I'm new here. I hope this is the correct list....
>
> While creating a database of customer subscribed services with
> DNS domains, I want to:
> *) enable customers to subscribe to multiple services
> *) each service can have multiple domain names per customer
> *) a domain name must be unique per customer per timestamp
>

Probably (!!) solved by using a tstzrange exclusion constraint:
http://dba.stackexchange.com/questions/51280/many-to-many-link-tables-with-history



--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

pgsql-sql by date:

Previous
From: skinner@britvault.co.uk (Craig R. Skinner)
Date:
Subject: Re: Many to many link tables with history?
Next
From: skinner@britvault.co.uk (Craig R. Skinner)
Date:
Subject: Re: Many to many link tables with history?