From: Guillaume Lelarge <guillaume@lelarge.info>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Marc Fromm <Marc.Fromm@wwu.edu>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: returning id
Date: Tue, 20 Sep 2011 22:09:14 +0200
Message-ID: <1316549355.2086.19.camel@localhost.localdomain> (raw)
In-Reply-To: <13107.1316548537@sss.pgh.pa.us>
References: <93361C67E4EE844A80935863A4FF4B6C05114F81@Exch2010MB-2.univ.dir.wwu.edu>
<13107.1316548537@sss.pgh.pa.us>
On Tue, 2011-09-20 at 15:55 -0400, Tom Lane wrote:
> Marc Fromm <Marc.Fromm@wwu.edu> writes:
> > Can I use "RETURNING id" in an insert statement with postgresql version 8.1.10?
>
> No. I don't recall just when RETURNING was added, but for sure it was
> after 8.1.
>
I checked. It appeared in 8.2. Sooner than I expected actually.
--
Guillaume
http://blog.guillaume.lelarge.infohttp://www.dalibo.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: guillaume@lelarge.info, tgl@sss.pgh.pa.us, Marc.Fromm@wwu.edu
Subject: Re: returning id
In-Reply-To: <1316549355.2086.19.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox