On Wed, 2010-12-01 at 09:55 -0500, Vick Khera wrote:
> On Wed, Dec 1, 2010 at 12:57 AM, Dann Corbit <dcor...@connx.com> wrote:
> > The ctid is not permanent.   An alternative is to create tables with OID
> > values.
> 
> Creating OIDs gives you zero benefit over having a PK.  They would be
> roughly equivalent if you added a unique index on the OID column, but
> that is by no means automatic.

It is also a really bad idea considering the global nature of an OID. 

JD

> 

-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt


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

Reply via email to