Re: [INIMSS] How to use OID?

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: Dino Cherian K <inimss(at)yahoo(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: [INIMSS] How to use OID?
Date: 2002-03-13 17:38:25
Message-ID: web-826688@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 the
SERIAL data type.

-Josh

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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Graham Vickrage 2002-03-13 17:41:24 Casting
Previous Message Jan Wieck 2002-03-13 17:35:38 Re: REFERENCES