Re: primary key generation

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: primary key generation
Дата
Msg-id m3y9k9y4wu.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на primary key generation  ("Ned Matson" <ned@go.com>)
Список 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 по дате отправления:

Предыдущее
От: Wieger Uffink
Дата:
Сообщение: Re: primary key generation
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Need SQL help, I'm stuck.