Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 7C37247628E for ; Wed, 13 Mar 2002 12:38:22 -0500 (EST) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.5.2) with HTTP id 826688; Wed, 13 Mar 2002 09:38:25 -0800 From: "Josh Berkus" Subject: Re: [INIMSS] How to use OID? To: Dino Cherian K , pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.2 Date: Wed, 13 Mar 2002 09:38:25 -0800 Message-ID: In-Reply-To: <02031317135802.01491@dino> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200203/152 X-Sequence-Number: 7032 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