From: Oliver Jowett <oliver@opencloud.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jeffrey Tenny <jeffrey.tenny@comcast.net>
Cc: postgres jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: "Idle in Transaction" revisited.
Date: Sun, 19 Sep 2004 10:16:48 +1200
Message-ID: <414CB3D0.8020800@opencloud.com> (raw)
In-Reply-To: <10520.1095545084@sss.pgh.pa.us>
References: <414CAFC9.9090908@comcast.net>
<10520.1095545084@sss.pgh.pa.us>
Tom Lane wrote:
> Jeffrey Tenny <jeffrey.tenny@comcast.net> writes:
>
>>Are you saying that I will see stale database state at the logical
>>"start" of my transaction from a pooled connection?
>
>
>>That's a showstopper for sure. If I'm confused please enlighten me.
>
>
> Apparently you are confused, because the JDBC behavior has always
> been like that; it's only the current devel driver that fixes it.
That's not entirely true; 7.3-era drivers (which I think is what is
being used here) used "set autocommit" rather than explicit BEGIN. It
went back to using BEGIN again when 7.4 removed that option.
-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, jeffrey.tenny@comcast.net
Subject: Re: "Idle in Transaction" revisited.
In-Reply-To: <414CB3D0.8020800@opencloud.com>
References: <414CAFC9.9090908@comcast.net> <10520.1095545084@sss.pgh.pa.us> <414CB3D0.8020800@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