Re: how to determine OID of the row I just inserted???

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how to determine OID of the row I just inserted???
Дата
Msg-id 12380.1044544104@sss.pgh.pa.us
обсуждение исходный текст
Ответ на how to determine OID of the row I just inserted???  ("Jules Alberts" <jules.alberts@arbodienst-limburg.nl>)
Ответы Re: how to determine OID of the row I just inserted???
Re: how to determine OID of the row I just inserted???
Список pgsql-general
"Jules Alberts" <jules.alberts@arbodienst-limburg.nl> writes:
> Something like lastval() IMHO is way too risky.

currval() is what you want, and it is *not* risky.  Read the sequence
documentation.

            regards, tom lane

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

Предыдущее
От: "Jules Alberts"
Дата:
Сообщение: Re: how to determine OID of the row I just inserted???
Следующее
От: Peter Choe
Дата:
Сообщение: password() function?