Re: Does Postgres support bookmarks (tuples ids)? - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Does Postgres support bookmarks (tuples ids)?
Date
Msg-id 1291232560.20631.3045.camel@jd-desktop
Whole thread Raw
In response to Re: Does Postgres support bookmarks (tuples ids)?  (Vick Khera <vivek@khera.org>)
List pgsql-general
On Wed, 2010-12-01 at 09:55 -0500, Vick Khera wrote:
> On Wed, Dec 1, 2010 at 12:57 AM, Dann Corbit <DCorbit@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


pgsql-general by date:

Previous
From: akp geek
Date:
Subject: Re: Grant command help -- postgres
Next
From: "James B. Byrne"
Date:
Subject: PG84 and SELinux