Re: automatic creation of oid

From: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>
To: Detlef Jockheck <detlef(at)jockheck(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: automatic creation of oid
Date: 2003-03-02 13:26:51
Message-ID: 5.1.0.14.1.20030302212236.00a2dec0@mbox.jaring.my
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert McKee 2003-03-02 16:58:44 Q from new user about postgresql?
Previous Message Detlef Jockheck 2003-03-02 12:49:57 Doing multiple steps at once