Re: [HACKERS] Get OID of just inserted record

Поиск
Список
Период
Сортировка
От Karel Zak - Zakkr
Тема Re: [HACKERS] Get OID of just inserted record
Дата
Msg-id Pine.LNX.3.96.991101182941.29853A-100000@ara.zf.jcu.cz
обсуждение исходный текст
Ответ на Get OID of just inserted record  ("Andrij Korud" <akorud@polynet.lviv.ua>)
Список pgsql-hackers

On 1 Nov 1999, Andrij Korud wrote:

> Hi,
> Is there any way to obtain an OID of record just inserted by SPI_execp?
> 

SELECT max(oid) ...   which is not implement now :-) 

If is any way for this is prabably good idea add this to SPI API (as
SPI_oidStatus()). What?
                    Karel

------------------------------------------------------------------------------
Karel Zak <zakkr@zf.jcu.cz>                      http://home.zf.jcu.cz/~zakkr/

Kim Project:  http://home.zf.jcu.cz/~zakkr/kim/              (process manager)
FTP:          ftp://ftp2.zf.jcu.cz/users/zakkr/              (C/ncurses/PgSQL)
------------------------------------------------------------------------------



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

Предыдущее
От: "Andrij Korud"
Дата:
Сообщение: Re: [HACKERS] Whos idea was this
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] sort on huge table