Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 610289FBB81 for ; Wed, 14 Feb 2007 14:04:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 59333-08 for ; Wed, 14 Feb 2007 14:04:06 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id D96539FB92C for ; Wed, 14 Feb 2007 14:03:58 -0400 (AST) Received: (qmail 26012 invoked by uid 1112); 14 Feb 2007 17:57:17 -0000 Date: Wed, 14 Feb 2007 12:57:17 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Ken Johanson cc: pgsql-jdbc@postgresql.org Subject: Re: Synthesize support for Statement.getGeneratedKeys()? In-Reply-To: <45D24BF2.6010405@kensystem.com> Message-ID: References: <4580E681.3080106@kensystem.com> <45B9A9D6.2080100@kensystem.com> <45BECBA1.8080508@kensystem.com> <45D24BF2.6010405@kensystem.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/62 X-Sequence-Number: 16618 On Tue, 13 Feb 2007, Ken Johanson wrote: > I have not tested this exhaustively, nor given though about the correctness > of the null-normalization below; is this enough for you or someone to commit > the changes? > No, you've provided the sketch of a solution, but it's not appropriate for the driver until you've resolved things like quoting column names, putting in a version check for a server that supports RETURNING, and added some test cases. Some or all of this can be done by the committer, but the more work the committer must do the less likely it's going to happen. Kris Jurka