Re: The old Insert and retrieving your Serial problem in

From: Chris Mair <chrisnospam(at)1006(dot)org>
To: John McCawley <nospam(at)hardgeus(dot)com>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: The old Insert and retrieving your Serial problem in
Date: 2006-11-15 13:27:38
Message-ID: 20061115142738.6509f328.chrisnospam@1006.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rick Schumeyer 2006-11-15 13:28:36 SQL subquery question
Previous Message Alban Hertroys 2006-11-15 12:29:23 Re: copy template X -> Y