Re: primary key generation

From: Doug McNaught <doug(at)wireboard(dot)com>
To: "Ned Matson" <ned(at)go(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: primary key generation
Date: 2001-12-11 18:42:41
Message-ID: m3y9k9y4wu.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ned Matson" <ned(at)go(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Wieger Uffink 2001-12-11 18:45:14 Re: primary key generation
Previous Message Gregory Wood 2001-12-11 18:37:26 Re: Help with inner/outer join