Status of OIDs was: Re: select first occurrence of a table

From: Benjamin Scherrey <scherrey(at)proteus-tech(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Status of OIDs was: Re: select first occurrence of a table
Date: 2003-05-02 20:26:27
Message-ID: 07FQOLI73YV073Y4ZJEPN3YDUQ7.3eb2d473@bonzoii
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Speaking of OIDs... I noticed that the talk is that these are being deprecated which, from my non
relationally purist/pro-object perspective, kinda disappointed me although I can guess at some
possible reasons. Is there some docs or a thread that someone can point me to that covers this
issue as I expect its been hashed over in depth already. I'd appreciate any information about the
justification and expected impact of this direction that Postgres is taking.

many thanx,

Ben Scherrey

5/2/2003 1:33:08 PM, Erik Ronström <kvarken(at)yahoo(dot)com> wrote:
>If the table has OIDs (which is the default), you can use the OID as a
>unique identifier for a row. But then you'll have to perform two
>queries:
>
>SELECT oid FROM table WHERE ... LIMIT 1;
>
>UPDATE table SET ... WHERE oid = ...;
>
>Erik

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-05-02 21:06:49 Re: select first occurrence of a table
Previous Message Erik Ronström 2003-05-02 19:13:26 Re: Connection closed