Re: Postgres, DB design, and object IDs (of any ilk) - Mailing list pgsql-general

From Chris Browne
Subject Re: Postgres, DB design, and object IDs (of any ilk)
Date
Msg-id 874ove87cy.fsf@dba2.int.libertyrms.com
Whole thread Raw
In response to Postgres, DB design, and object IDs (of any ilk)  (Kenneth Tilton <kentilton@gmail.com>)
List pgsql-general
kentilton@gmail.com (Kenneth Tilton) writes:
> Just looking for postgres "best practices" input from the veterans:

OIDs are decidedly a bad idea; the difference between "natural" IDs
and "surrogate" IDs is a general database issue that is fairly well
documented in the literature and is not notably a PostgreSQL-specific
issue.

There are competing doctrines, basically between the respective
beliefs:

 a) Some believe that there should always be a natural primary key,
    and that it is wrong to attempt to use surrogates

 b) Others contend that even when users claim to provide natural
    primary keys that they are actually lying when they suggest
    certainty about this

Major bashing can take place back and forth.
--
output = ("cbbrowne" "@" "acm.org")
http://cbbrowne.com/info/wp.html
Rules  of  the Evil  Overlord  #100.  "Finally,  to keep  my  subjects
permanently locked in  a mindless trance, I will  provide each of them
with free unlimited Internet access. <http://www.eviloverlord.com/>

pgsql-general by date:

Previous
From: Karl Nack
Date:
Subject: Re: After each row trigger NOT seeing data changes?
Next
From: Timmy
Date:
Subject: Re: Re: Can not decompress a compressed string under plpy!