Re: [INIMSS] How to use OID? - Mailing list pgsql-sql

From Christopher Kings-Lynne
Subject Re: [INIMSS] How to use OID?
Date
Msg-id GNELIHDDFBOCMGBFGEFOIELOCBAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to [INIMSS] How to use OID?  (Dino Cherian K <inimss@yahoo.com>)
Responses Re: [INIMSS] How to use OID?
List pgsql-sql
> Is there any real use of the data-type OID?

There's plenty of uses, however if you don't need to use it, don't use it.

> Can I use it as a primary key?

Yes, but I recommend against it, because OIDs are easily lost after a
database restore...

Chris



pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Line Numbering in SELRCT Output
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: