Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 197FA9FA65C for ; Fri, 26 Jan 2007 00:43:04 -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 47109-01 for ; Fri, 26 Jan 2007 00:42:56 -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 21BB19FA4DF for ; Fri, 26 Jan 2007 00:42:55 -0400 (AST) Received: from 192.168.0.3 by www01.kensystem.com (SMTPD); id s20070126044251.17675; Fri, 26 Jan 2007 04:42:51 Message-ID: <45B986CB.70100@kensystem.com> Date: Thu, 25 Jan 2007 21:42:51 -0700 From: Ken Johanson User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Synthesize support for Statement.getGeneratedKeys()? References: <4580E681.3080106@kensystem.com> In-Reply-To: <4580E681.3080106@kensystem.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/165 X-Sequence-Number: 16530 In implementing Statement.executeUpdate(String sql,String[] columnNames), does any know how I could go about sending the sql and subsequent RETURNING clause directly to a stream? Just so I can avoid double-buffering the query (allocated in the sql, and second in the StringBuffer I'd be appending the RETURNING clause to). I do see that there are ASCII and Unicode char streams and I'm also not sure how to delegate to those or if a highr level method (network) would do that.. gratsi, ken