pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marc Fromm <Marc.Fromm@wwu.edu>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: returning id
Date: Tue, 20 Sep 2011 15:55:37 -0400
Message-ID: <13107.1316548537@sss.pgh.pa.us> (raw)
In-Reply-To: <93361C67E4EE844A80935863A4FF4B6C05114F81@Exch2010MB-2.univ.dir.wwu.edu>
References: <93361C67E4EE844A80935863A4FF4B6C05114F81@Exch2010MB-2.univ.dir.wwu.edu>

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.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <13107.1316548537@sss.pgh.pa.us>
Permalink:  ../13107.1316548537@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13107.1316548537@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, Marc.Fromm@wwu.edu
  Subject: Re: returning id
  In-Reply-To: <13107.1316548537@sss.pgh.pa.us>

* 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