Re: automatic creation of oid - Mailing list pgsql-general

From Lincoln Yeoh
Subject Re: automatic creation of oid
Date
Msg-id 5.1.0.14.1.20030302212236.00a2dec0@mbox.jaring.my
Whole thread Raw
In response to automatic creation of oid  (Detlef Jockheck <detlef@jockheck.de>)
List pgsql-general
At 09:10 PM 2/28/03 +0100, Detlef Jockheck wrote:
>I'm new to postgresql. How can automatically create unique object identifyer
>during insertion of new data. I 've seen that a can use a sequence, but I
>think there must be another way?

There are other options. But if you don't have any other requirements than
what you mentioned, you should use sequence/serial.

Regards,
Link.


pgsql-general by date:

Previous
From: Detlef Jockheck
Date:
Subject: Doing multiple steps at once
Next
From: "Mark Cave-Ayland"
Date:
Subject: plpgsql memory leak in 7.3.2? (repost)