Re: nooby q: how get a row just inserted?

From: Kenneth Tilton <kentilton(at)gmail(dot)com>
To: Martin Gainty <mgainty(at)hotmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: nooby q: how get a row just inserted?
Date: 2009-05-31 00:52:56
Message-ID: 4A21D4E8.9010304@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martin Gainty wrote:
> yes i would suggest using OID
> included in Postgres distro is a sample create table,index named
> fti.pl
>
> does this answer your question?

oid would have been fine, but I am going with Rodrigo's suggestion to
simply use the returning option on insert which I somehow missed.

thx, ken

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-05-31 00:55:15 Re: nooby q: how get a row just inserted?
Previous Message Martin Gainty 2009-05-31 00:49:18 Re: nooby q: how get a row just inserted?