Re: Does Postgres support bookmarks (tuples ids)?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Vick Khera <vivek(at)khera(dot)org>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Does Postgres support bookmarks (tuples ids)?
Date: 2010-12-01 19:42:40
Message-ID: 1291232560.20631.3045.camel@jd-desktop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)connx(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jens Wilke 2010-12-01 20:26:27 Re: Warm Standby log filling up with "FATAL: the database system is starting up" entries
Previous Message akp geek 2010-12-01 19:38:38 Re: Grant command help -- postgres