Re: Last_Inserted Value

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Last_Inserted Value
Дата
Msg-id 25557.1017326435@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Last_Inserted Value  (Andre Schubert <andre.schubert@km3.de>)
Список pgsql-admin
Andre Schubert <andre.schubert@km3.de> writes:
> All three tables use the same sequence to increment their id.
> I want to know if it is possible to find the id of the inserted value of
> foo.

Try "currval".

            regards, tom lane

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

Предыдущее
От: Radoslaw Stachowiak
Дата:
Сообщение: 7.2 timetz/time/current_time improper behaviour report
Следующее
От: "Gaetano Mendola"
Дата:
Сообщение: Log rotation