Re: SERIAL behaviour

Поиск
Список
Период
Сортировка
От Adrian 'Dagurashibanipal' von Bidder
Тема Re: SERIAL behaviour
Дата
Msg-id 1026740848.15188.6.camel@atlas
обсуждение исходный текст
Ответ на SERIAL behaviour  (Eugene <foo@bar.com>)
Ответы Re: SERIAL behaviour  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
On Sun, 2002-07-14 at 03:59, Eugene wrote:
[ SERIAL type / SEQUENCEs and transactions ]

Closely related: what's the official/preferred way if I'm inserting rows
into a table with a auto assigned id (SERIAL), to get the newly created
id? asking the sequence obviously will not work - as the sequence will
advance when the next value is inserted from another transaction.

cheers
-- vbi

--
secure email with gpg                         http://fortytwo.ch/gpg

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: recursing down a tree
Следующее
От:
Дата:
Сообщение: Re: MySQL vs. PostgreSQL