Re: record id - Mailing list pgsql-novice

From Tom Lane
Subject Re: record id
Date
Msg-id 28806.1177631918@sss.pgh.pa.us
Whole thread Raw
In response to record id  ("stephen" <mail@xesoftware.com.au>)
List pgsql-novice
"stephen" <mail@xesoftware.com.au> writes:
> I remember with oracle there was a self numbering record id field which
> we often used to cross reference tables.  Is there something like this
> with postgresql?

You want a serial column (or maybe just a sequence).  See the docs.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Phillip Smith"
Date:
Subject: Re: cannot insert or update
Next
From: Tom Lane
Date:
Subject: Re: How long does commit take?