From: Kris Jurka <books@ejurka.com>
To: Gustav Trede <gustav.trede_wsdevel@telia.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: extra rowcopy in ResultSet allways needed ?.
Date: Sat, 16 Feb 2008 10:57:38 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0802161055260.25216@leary.csoft.net> (raw)
In-Reply-To: <47B6FF78.9010802@telia.com>
References: <47B6FF78.9010802@telia.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, gustav.trede_wsdevel@telia.com
Subject: Re: extra rowcopy in ResultSet allways needed ?.
In-Reply-To: <Pine.BSO.4.64.0802161055260.25216@leary.csoft.net>
References: <47B6FF78.9010802@telia.com> <Pine.BSO.4.64.0802161055260.25216@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox