Re: 2 versions of an entity worth distinct table? - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: 2 versions of an entity worth distinct table?
Date
Msg-id if9l53$dsg$1@dough.gmane.org
Whole thread Raw
In response to 2 versions of an entity worth distinct table?  (gvim <gvimrc@gmail.com>)
Responses Re: 2 versions of an entity worth distinct table?  (Rob Sargent <robjsargent@gmail.com>)
List pgsql-general
gvim wrote on 27.12.2010 02:47:
> If a table representing contact details can have 2 but no more than 2
> email addresses is it really worth factoring-out email addresses to a
> separate table.

If you are absolutely sure you will never have more than two, then I agree, you don't need to create a 1:N relationship
forthat. 
Especially because guaranteeing that there will never be more than two in the N part is quite complicated.

Regards
Thomas

pgsql-general by date:

Previous
From: Radosław Smogura
Date:
Subject: Binary procedures for few types
Next
From: Merlin Moncure
Date:
Subject: Re: Binary procedures for few types