Re: Access last inserted tuple info... - Mailing list pgsql-hackers

From David Fetter
Subject Re: Access last inserted tuple info...
Date
Msg-id 20070124192046.GB29327@fetter.org
Whole thread Raw
In response to Access last inserted tuple info...  ("Luis D. García" <ldgarc@gmail.com>)
Responses Re: Access last inserted tuple info...  ("Luis D. García" <ldgarc@gmail.com>)
List pgsql-hackers
On Wed, Jan 24, 2007 at 12:56:14PM -0400, Luis D. Garc?a wrote:
> 
>    Hi, I'm working on a modification of PostgreSQL 8.1.4 and I need to access
>    the
>    information stored in the last tuple inserted in a table (All this from the
>    backend
>    code).
>    Could anyone please help me on this?
>    Greetings and Thanks...

8.2 has (INSERT/UPDATE/DELETE) ... RETURNING.  Perhaps you could use
the 8.2 series instead :)

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666                             Skype: davidfetter

Remember to vote!


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Default permissisons from schemas
Next
From: Jeff Davis
Date:
Subject: Re: tsearch in core patch, for inclusion