Search Postgresql Archives

Re: Postgres, DB design, and object IDs (of any ilk)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kentilton@xxxxxxxxx (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/>

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux