Re: [GENERAL] Questions regarding OID

1999-06-26 Thread Anonymous
Each record has an oid, which is assured to be unique in that database. Thus you can use it for your purpose, I believe. To fine the oid with any record, just: SELECT oid,* from mytable; The OID is always there, and you don't have to add it - you just don't see it uless you specifically ask

Re: [GENERAL] Questions regarding OID

1999-06-25 Thread Anonymous
> Date: Fri, 25 Jun 1999 23:00:25 +0800 (PHT) > From: Richi Plana <[EMAIL PROTECTED]> > Content-Type: TEXT/PLAIN; charset=US-ASCII > Sender: [EMAIL PROTECTED] > Precedence: bulk > > Hi, > > I'm trying to use PostgreSQL data type oid and I have a couple of > questions about it: > >

Re: [GENERAL] Questions regarding OID

1999-06-25 Thread Anonymous
Richi Plana wrote: > I'm trying to use PostgreSQL data type oid and I have a couple > 2) Can it be used together with NOT NULL or PRIMARY KEY? oid data type is a 4 byte integer and as far as I know can be used pretty much the same way.