Re: Primary keys for companies and people

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: David Goodenough <david(dot)goodenough(at)btconnect(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Primary keys for companies and people
Date: 2006-02-02 22:40:51
Message-ID: EABA8C16-C1F5-4DF0-9E10-1AA9F1A198B1@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Feb 3, 2006, at 7:25 , Merlin Moncure wrote:

>> There is also the problem that a name can change. People change
>> names
>> by deed-poll, and also women can adopt a married name or keep
>> their old
>> one. All in all an ID is about the only answer.
>
> I'll take the other side of this issue. The fact that a primary key
> is mutable does not make it any less primary. As long as we can can
> count on it to be unique, how often identiying info changes has no
> bearing on its selection as a p-key from a relational standpoint.

> The performance issue has zero meaning in a
> conceptual sense however and I think you are trying to grapple things
> in conceptual terms.

I definitely agree with you here, Merlin. Mutability is not the issue
at hand. May I ask what strategies you use for determining uniqueness
for people?

Michael Glaesemann
grzm myrealbox com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mott Leroy 2006-02-02 23:19:53 logging settings
Previous Message Tony Caduto 2006-02-02 22:29:51 Any way to extract records from the WAL?