From: Josh Berkus <josh@agliodbs.com>
To: Dino Cherian K <inimss@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Re: [INIMSS] How to use OID?
Date: Wed, 13 Mar 2002 09:38:25 -0800
Message-ID: <web-826688@davinci.ethosmedia.com> (raw)
In-Reply-To: <02031317135802.01491@dino>
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@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, inimss@yahoo.com
Subject: Re: [INIMSS] How to use OID?
In-Reply-To: <web-826688@davinci.ethosmedia.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox