Re: Support for RETURNING xxx INTO yyy for INSERT and UPDATE? - Mailing list pgsql-novice

From Michael Fuhr
Subject Re: Support for RETURNING xxx INTO yyy for INSERT and UPDATE?
Date
Msg-id 20050223085958.GA23961@winnie.fuhr.org
Whole thread Raw
In response to Support for RETURNING xxx INTO yyy for INSERT and UPDATE?  (John Napiorkowski <jjn1056@yahoo.com>)
List pgsql-novice
On Tue, Feb 22, 2005 at 10:11:24PM -0800, John Napiorkowski wrote:

> what methods can I use to reliable and efficiently return new
> primary keys from inserts?

See "How do I get the value of a SERIAL insert?" in the FAQ:

http://www.postgresql.org/files/documentation/faqs/FAQ.html#4.11.2

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-novice by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Copy can't parse a float?
Next
From: john-paul delaney
Date:
Subject: psql: Unicode escape sequence?