Re: The old Insert and retrieving your Serial problem in - Mailing list pgsql-general

From Chris Mair
Subject Re: The old Insert and retrieving your Serial problem in
Date
Msg-id 20061115142738.6509f328.chrisnospam@1006.org
Whole thread Raw
In response to Re: The old Insert and retrieving your Serial problem in  (John McCawley <nospam@hardgeus.com>)
List pgsql-general
> That looks like the solution to my problem, thanks!...I tried running it
> on my 8.0.8 server, but it wasn't found, I assume that's an 8.1 only
> function?

Note that the upcoming 8.2 release has a handy "returning" clause
for insert:
  http://developer.postgresql.org/pgdocs/postgres/sql-insert.html

Bye, Chris.


pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: copy template X -> Y
Next
From: Alvaro Herrera
Date:
Subject: Re: autovac hung/blocked