Re: OID Usage

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: OID Usage
Дата
Msg-id 8E5F21BA-6604-11D9-8575-000A95C88220@myrealbox.com
обсуждение исходный текст
Ответ на OID Usage  (Bo Lorentsen <bl@netgroup.dk>)
Ответы Re: OID Usage
Список pgsql-general
On Jan 14, 2005, at 16:03, Bo Lorentsen wrote:

> Now, are there any danger in using this method ? And if there is, how
> can I do this trick without knowing the layout of the table I insert
> into ?

You can use currval() to get the sequence value that was pulled from
your insert. You can check the documentation for usage, as well as
searching the archives for discussions of using OIDs as part of your
database logic.

Hope this helps.


Michael Glaesemann
grzm myrealbox com


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

Предыдущее
От: Bo Lorentsen
Дата:
Сообщение: OID Usage
Следующее
От: Bo Lorentsen
Дата:
Сообщение: Re: OID Usage