Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id C21129FA178 for ; Thu, 14 Dec 2006 11:38:48 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 34726-01 for ; Thu, 14 Dec 2006 11:38:34 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from www01.kensystem.com (www01.kensystem.com [72.19.170.120]) by postgresql.org (Postfix) with ESMTP id DE94F9FA19B for ; Thu, 14 Dec 2006 11:38:39 -0400 (AST) Received: from 192.168.0.3 by www01.kensystem.com (SMTPD); id s20061214153827.100945; Thu, 14 Dec 2006 15:38:27 Message-ID: <45816FF2.6050401@kensystem.com> Date: Thu, 14 Dec 2006 08:38:26 -0700 From: Ken Johanson User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org CC: Michael Paesold Subject: Re: Synthesize support for Statement.getGeneratedKeys()? References: <4580E681.3080106@kensystem.com> <45810230.80803@gmx.at> In-Reply-To: <45810230.80803@gmx.at> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/76 X-Sequence-Number: 16308 Michael Paesold wrote: .. > It would be possible to implement that using the RETURNING clause > supported in recent versions of the server. > > See here: > http://archives.postgresql.org/pgsql-jdbc/2006-10/msg00035.php > http://archives.postgresql.org/pgsql-jdbc/2006-10/msg00037.php > > Unfortunately, all my available spare time went into implementing > support for standards_conforming_strings in the 8.2 release cycle. > And that is a feature which I VERY much appreciate having... thank you, btw! > > Could you comment on my mail above (the second one) -- what API-methods > does your software use, actually? > Yes, of the four executeUpdates() that you listed in your email discussion, it uses executeUpdate(String sql, String[] columnNames) exclusively (the easy one :-)). Aside from that, if there were a way to get the backend to support the others (for example executeUpdate(String sql, int[] columnIdx)), that would be a best investment of everyone's time. But my vote right now would be for an implementation of (..,String[] columnNames) so that I can get bootstrapped with PG :) Either way, I will be very happy, of course, to do some beta testing. > Best Regards > Michael Paesold > > > >