get the previous assigned sequence value

Поиск
Список
Период
Сортировка
От Kevin Heflin
Тема get the previous assigned sequence value
Дата
Msg-id Pine.LNX.4.10.9912081639280.11761-100000@mercury.shreve.net
обсуждение исходный текст
Список pgsql-general
I've been looking through the online docs, so far have not found this
information.

After an INSERT, I want to retrieve the value of the sequence I use for
unique_ids

Any suggestions ?



Kevin

--------------------------------------------------------------------
Kevin Heflin          | ShreveNet, Inc.      | Ph:318.222.2638 x103
VP/Production         | 333 Texas St #175    | FAX:318.221.6612
kheflin@shreve.net    | Shreveport, LA 71101 | http://www.shreve.net
--------------------------------------------------------------------


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

Предыдущее
От: Ed Loehr
Дата:
Сообщение: Re: [GENERAL] Suggested "minor" change to psql
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [GENERAL] How to stop implicit rollback on certain errors?