pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Saleem EDAH-TALLY <nmset@netcourrier.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: getGeneratedKeys
Date: Mon, 9 Mar 2009 23:26:44 +0100
Message-ID: <200903092326.44586.nmset@netcourrier.com> (raw)
In-Reply-To: <Pine.BSO.4.64.0903091733280.6615@leary.csoft.net>
References: <200903092020.58921.nmset@netcourrier.com>
	<Pine.BSO.4.64.0903091733280.6615@leary.csoft.net>

I've tried for single and multiple inserts and it does work.
I don't know what would be returned if a table has more than one sequence as 
default value for columns, I don't have need for this so I won't try.

Just for curiosity, does it work by driver implementation solely or are there 
changes in PostgreSQL backend that help the implementation ?

Thanks.

>
> Those are pretty old, see:
>
> http://archives.postgresql.org/pgsql-jdbc/2008-11/msg00041.php
>
> http://archives.postgresql.org/pgsql-jdbc/2009-01/msg00015.php
>
> The upcoming 8.4 driver will contain support for getGeneratedKeys.  If you
> want to test this out yourself, download the code from CVS or a prebuilt
> jar from the link in the second message.
>
> Kris Jurka

view thread (17+ messages)  latest in thread

Message-ID: <200903092326.44586.nmset@netcourrier.com>
Permalink:  ../200903092326.44586.nmset@netcourrier.com/
Also on:    postgresql.org/message-id/200903092326.44586.nmset@netcourrier.com

 · 

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-jdbc@postgresql.org
  Cc: nmset@netcourrier.com
  Subject: Re: getGeneratedKeys
  In-Reply-To: <200903092326.44586.nmset@netcourrier.com>
  References: <200903092020.58921.nmset@netcourrier.com> <Pine.BSO.4.64.0903091733280.6615@leary.csoft.net> <200903092326.44586.nmset@netcourrier.com>

* 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