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

From Daniele Varrazzo
Subject Re: pervasiveness of surrogate (also called synthetic) keys
Date
Msg-id BANLkTiny4qkfdkoqv0Mtw5zDdXbvZLqFWQ@mail.gmail.com
Whole thread Raw
In response to Re: pervasiveness of surrogate (also called synthetic) keys  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-general
On Thu, Apr 28, 2011 at 7:26 PM, Joshua D. Drake <jd@commandprompt.com> wrote:

> Well there is no fact to back that up but, I will say that most toolkits
> require the use of a synthetic key, rails, django etc....

Usually such tools are born with surrogate keys only, because it's
easier, and either grow up developing natural keys (e.g. the Django
ORM, SQLAlchemy) or fade into uselessness (e.g. SQLObject). But this
speaks more about tools than about the merits of the natural keys: if
the toolkit doesn't support them it's seriously getting in the way in
this and probably in other matters too.

-- Daniele

pgsql-general by date:

Previous
From: Scott Ribe
Date:
Subject: Re: pervasiveness of surrogate (also called synthetic) keys
Next
From: Ernesto Lozano
Date:
Subject: Re: [ANNOUNCE] [HACKERS] PostgreSQL Core Team