Re: Access last inserted tuple info...

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Access last inserted tuple info...
Дата
Msg-id 20070124192046.GB29327@fetter.org
обсуждение исходный текст
Ответ на Access last inserted tuple info...  ("Luis D. García" <ldgarc@gmail.com>)
Ответы Re: Access last inserted tuple info...  ("Luis D. García" <ldgarc@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Default permissisons from schemas
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: tsearch in core patch, for inclusion