serial type vs. sequences

Поиск
Список
Период
Сортировка
От Suchandra Thapa
Тема serial type vs. sequences
Дата
Msg-id 1068670760.5193.43.camel@hepcat
обсуждение исходный текст
Ответы Re: serial type vs. sequences
Re: serial type vs. sequences
Список pgsql-general
I was wondering if there was a reliable method to get the last id
inserted into a serial column in a table.  I believe previous
recommendations given were to use a sequence, have your app get the
nextval for the sequence and then use that in the insert.  I was
wondering if things had changed or if that is still the recommended
method.

--
Suchandra Thapa <s-thapa-11@alumni.uchicago.edu>

Вложения

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