Skip site navigation (1) Skip section navigation (2)

Re: extra rowcopy in ResultSet allways needed ?.

From: Kris Jurka <books(at)ejurka(dot)com>
To: Gustav Trede <gustav(dot)trede_wsdevel(at)telia(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: extra rowcopy in ResultSet allways needed ?.
Date: 2008-02-16 15:57:38
Message-ID: Pine.BSO.4.64.0802161055260.25216@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

pgsql-jdbc by date

Next:From: ntrDate: 2008-02-16 16:06:56
Subject: Re: UUID datatype
Previous:From: Kris JurkaDate: 2008-02-16 15:52:00
Subject: Re: UUID datatype

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group