From: Dave Cramer <pg@fastcrypt.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Csaba Nagy <nagy@ecircle-ag.com>
Cc: Postgres JDBC <pgsql-jdbc@postgresql.org>
Cc: Bruce Momjian <bruce@momjian.us>
Subject: Re: PGStatement#setPrepareThreshold
Date: Thu, 3 Aug 2006 18:20:47 -0400
Message-ID: <EB097C2E-F660-4857-AFFF-D998AD5C82FF@fastcrypt.com> (raw)
In-Reply-To: <44D27558.3040907@opencloud.com>
References: <1154529173.21451.27.camel@coppola.muc.ecircle.de>
<44D19215.1070002@opencloud.com>
<1154596670.21451.44.camel@coppola.muc.ecircle.de>
<B4707B92-5F53-44B3-AFE0-F939C3559E51@fastcrypt.com>
<BD03ACFB-8073-4952-9FA0-8797DABD19D7@fastcrypt.com>
<25044.1154635187@sss.pgh.pa.us>
<5DA7BECA-42E8-4A94-ADDC-ACCA42F6DF5F@fastcrypt.com>
<44D27558.3040907@opencloud.com>
On 3-Aug-06, at 6:14 PM, Oliver Jowett wrote:
> Dave Cramer wrote:
>
>> If that's the case then the driver is not doing what it's supposed
>> to be doing. It should be using the named portal (S_3) to do the
>> insert.
>
> No, the driver is fine. It is using a named statement (S_3) but an
> unnamed portal (because it is going to fetch all the data in one go
> and doesn't need to retain the portal after execution)
>
> If your query met the conditions for using a portal-based
> ResultSet, you'd see it use a named portal as well as a named
> statement.
Thanks for clarifying that Oliver, the logs are still misleading in
that they don't name the statement used in the bind message.
--dc--
>
> -O
>
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: pg@fastcrypt.com, oliver@opencloud.com, tgl@sss.pgh.pa.us, nagy@ecircle-ag.com, bruce@momjian.us
Subject: Re: PGStatement#setPrepareThreshold
In-Reply-To: <EB097C2E-F660-4857-AFFF-D998AD5C82FF@fastcrypt.com>
References: <1154529173.21451.27.camel@coppola.muc.ecircle.de> <44D19215.1070002@opencloud.com> <1154596670.21451.44.camel@coppola.muc.ecircle.de> <B4707B92-5F53-44B3-AFE0-F939C3559E51@fastcrypt.com> <BD03ACFB-8073-4952-9FA0-8797DABD19D7@fastcrypt.com> <25044.1154635187@sss.pgh.pa.us> <5DA7BECA-42E8-4A94-ADDC-ACCA42F6DF5F@fastcrypt.com> <44D27558.3040907@opencloud.com> <EB097C2E-F660-4857-AFFF-D998AD5C82FF@fastcrypt.com>
* 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