pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Jodi Kanter <jkanter@virginia.edu>
Cc: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: Fw: OID
Date: Fri, 16 Aug 2002 13:40:52 -0700
Message-ID: <3D5D6354.4060507@joeconway.com> (raw)
References: <01e701c24563$00413ef0$de138f80@virginia.edu>

Jodi Kanter wrote:
> Does anyone have a comment on the email below? Is there a general 
> consensus on whether or not to use OIDs with version 7.2?

<snip>

> 
> Can anyone point me to some documentation on the use of OIDs? Why might 
> I need them? How to remove them in version 7.2? ..etc...

I think you're best to avoid using them. They are primarily for internal 
system use. If you need an incrementing integer field, create your own 
with SERIAL, or integer field and a sequence.

To create a table without oids, see:
   http://www.postgresql.org/idocs/index.php?sql-createtable.html

Joe




view thread (10+ messages)  latest in thread

Message-ID: <3D5D6354.4060507@joeconway.com>
Permalink:  ../3D5D6354.4060507@joeconway.com/
Also on:    postgresql.org/message-id/3D5D6354.4060507@joeconway.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mail@joeconway.com, jkanter@virginia.edu
  Subject: Re: Fw: OID
  In-Reply-To: <3D5D6354.4060507@joeconway.com>
  References: <01e701c24563$00413ef0$de138f80@virginia.edu> <3D5D6354.4060507@joeconway.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