Re: [HACKERS] Get OID of just inserted record - Mailing list pgsql-hackers

From Karel Zak - Zakkr
Subject Re: [HACKERS] Get OID of just inserted record
Date
Msg-id Pine.LNX.3.96.991101182941.29853A-100000@ara.zf.jcu.cz
Whole thread Raw
In response to Get OID of just inserted record  ("Andrij Korud" <akorud@polynet.lviv.ua>)
List 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 by date:

Previous
From: "Andrij Korud"
Date:
Subject: Re: [HACKERS] Whos idea was this
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] sort on huge table