Re: Access last inserted tuple info...

From: David Fetter <david(at)fetter(dot)org>
To: "Luis D(dot) Garcia" <ldgarc(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Access last inserted tuple info...
Date: 2007-01-24 19:20:46
Message-ID: 20070124192046.GB29327@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666
Skype: davidfetter

Remember to vote!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2007-01-24 19:21:51 Re: tsearch in core patch, for inclusion
Previous Message Stephen Frost 2007-01-24 19:11:43 Re: Default permissisons from schemas