Re: pervasiveness of surrogate (also called synthetic) keys - Mailing list pgsql-general

From Scott Marlowe
Subject Re: pervasiveness of surrogate (also called synthetic) keys
Date
Msg-id BANLkTi=ByyLAS5zn_94O3B=cWrJx7DN+iw@mail.gmail.com
Whole thread Raw
In response to Re: pervasiveness of surrogate (also called synthetic) keys  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-general
On Mon, May 2, 2011 at 7:43 PM, Craig Ringer
<craig@postnewspapers.com.au> wrote:
> I'm now strongly in favour of keeping an internal key that users never
> see, and having separate user-visible identifiers. The users can demand
> that those identifiers change format or generation method and it's an

It's far easier to change a unique constraint on the fly than a PK in
a busy production database.

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: pervasiveness of surrogate (also called synthetic) keys
Next
From: Josh Berkus
Date:
Subject: We need you to beta-test PostgreSQL 9.1