Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 7566B2E002D for ; Sat, 16 Feb 2008 11:57:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 57170-06 for ; Sat, 16 Feb 2008 11:57:40 -0400 (AST) Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 2BC3A2E002F for ; Sat, 16 Feb 2008 11:57:40 -0400 (AST) Received: (qmail 1748 invoked by uid 1112); 16 Feb 2008 15:57:38 -0000 Date: Sat, 16 Feb 2008 10:57:38 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Gustav Trede cc: pgsql-jdbc@postgresql.org Subject: Re: extra rowcopy in ResultSet allways needed ?. In-Reply-To: <47B6FF78.9010802@telia.com> Message-ID: References: <47B6FF78.9010802@telia.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: 200802/101 X-Sequence-Number: 18308 On Sat, 16 Feb 2008, Gustav Trede wrote: > Is the extra rowcopy allways needed to be done, for example in boolean > next() method in resultset ? > > Is the copy not only needed in some detectable special case ?. > The rowBuffer copy is only needed for updateable ResultSets, so we could probably wrap all those calls with isUpdateable() { }. Are you seein a significant performance impact from those calls or are you just curious? Kris Jurka