From: Oliver Jowett <oliver@opencloud.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kris Jurka <books@ejurka.com>
Cc: David Goodenough <david.goodenough@btconnect.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: confused about transactions and connection pools
Date: Wed, 01 Nov 2006 00:54:16 +1300
Message-ID: <45473968.1050703@opencloud.com> (raw)
In-Reply-To: <20716.1162247126@sss.pgh.pa.us>
References: <200610301117.54932.david.goodenough@btconnect.com>
<Pine.BSO.4.63.0610301337200.2855@leary2.csoft.net>
<20716.1162247126@sss.pgh.pa.us>
Tom Lane wrote:
> I'm a bit
> dubious that the prepared-statement machinery actually results in a win
> compared to just issuing simple Query messages.
The driver has no infrastructure for issuing simple Query messages in v3
mode, and anyway we want to batch the BEGIN up with the query that
follows it.
COMMIT/ROLLBACK might be of dubious value but I don't know if it's worth
having a completely separate code path in the driver just for that one case.
-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: oliver@opencloud.com, tgl@sss.pgh.pa.us, books@ejurka.com, david.goodenough@btconnect.com
Subject: Re: confused about transactions and connection pools
In-Reply-To: <45473968.1050703@opencloud.com>
References: <200610301117.54932.david.goodenough@btconnect.com> <Pine.BSO.4.63.0610301337200.2855@leary2.csoft.net> <20716.1162247126@sss.pgh.pa.us> <45473968.1050703@opencloud.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