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

From Josh Berkus
Subject Re: [INIMSS] How to use OID?
Date
Msg-id web-826688@davinci.ethosmedia.com
Whole thread Raw
In response to [INIMSS] How to use OID?  (Dino Cherian K <inimss@yahoo.com>)
List pgsql-sql
Dino,

> Is there any real use of the data-type OID?
> Can I use it as a primary key?

This sort of question belongs on the NOVICE list, not SQL.

In answer:  Don't use the OID.  Create your own primary key, using theSERIAL data type.

-Josh

______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


pgsql-sql by date:

Previous
From: Bo Lorentsen
Date:
Subject: Re: Large data sets and FOR LOOP's
Next
From: Jan Wieck
Date:
Subject: Re: REFERENCES