Re: primary key generation - Mailing list pgsql-general

From Doug McNaught
Subject Re: primary key generation
Date
Msg-id m3y9k9y4wu.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to primary key generation  ("Ned Matson" <ned@go.com>)
List pgsql-general
"Ned Matson" <ned@go.com> writes:

> Does postgres have any built-in methods for auto-generating unique integer
> primary keys or is managing this task the responsibility of the user?

Sure, read up on the SERIAL column type.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

pgsql-general by date:

Previous
From: Wieger Uffink
Date:
Subject: Re: primary key generation
Next
From: Stephan Szabo
Date:
Subject: Re: Need SQL help, I'm stuck.