pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ben Trewern <ben.trewern@mowlem.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Replacing IDENTITY with lastval()
Date: Fri, 1 Jun 2007 16:10:13 +0100
Message-ID: <f3pcrn$2tr3$1@news.hub.org> (raw)
References: <E1HjwBJ-000Hnc-00.sdld-mail-ru@f105.mail.ru>
	<463CB520.90208@gmx.net>
	<f3pc9f$2lbv$1@news.hub.org>

> Shouldn't you be using INSERT ... RETURNING .. ;  for this?  Seems like 
> the perfect useage.
>

Sorry to reply to myself but I just looked this up and it is only supported 
from 8.2 onwards. :-(

Ben 





view thread (5+ messages)

Message-ID: <f3pcrn$2tr3$1@news.hub.org>
Permalink:  ../f3pcrn$2tr3$1@news.hub.org/
Also on:    postgresql.org/message-id/f3pcrn$2tr3$1@news.hub.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: ben.trewern@mowlem.com
  Subject: Re: Replacing IDENTITY with lastval()
  In-Reply-To: <f3pcrn$2tr3$1@news.hub.org>
  References: <E1HjwBJ-000Hnc-00.sdld-mail-ru@f105.mail.ru> <463CB520.90208@gmx.net> <f3pc9f$2lbv$1@news.hub.org> <f3pcrn$2tr3$1@news.hub.org>

* 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