From: Andrew Sullivan <ajs@crankycanuck.ca>
To: Kris Jurka <books@ejurka.com>
Cc: Andrew Sullivan <ajs@crankycanuck.ca>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Deadlock problem
Date: Fri, 18 Nov 2005 16:22:48 -0500
Message-ID: <20051118212248.GG29354@phlogiston.dyndns.org> (raw)
In-Reply-To: <Pine.BSO.4.61.0511181447040.11780@leary.csoft.net>
References: <200511181209.000000EC@dev-null>
<20051118180347.GA29354@phlogiston.dyndns.org>
<Pine.BSO.4.61.0511181447040.11780@leary.csoft.net>
On Fri, Nov 18, 2005 at 02:49:53PM -0500, Kris Jurka wrote:
> simultaneously, but internally only one is executed at a time. Clearly
> running with autocommit = false requires some coordination of
> transactions, but multiple threads are not in and of themselves dangerous.
I'd _really_ like to see an example of an application that did this
correctly and without any bugs. I've seen people do it, yes; but I
haven't seen it working without fairly serious problems. (Besides,
isn't solving this sort of pain what a pool is for? Why reinvent the
wheel, and make it square to boot?)
A
--
Andrew Sullivan | ajs@crankycanuck.ca
When my information changes, I alter my conclusions. What do you do sir?
--attr. John Maynard Keynes
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: ajs@crankycanuck.ca, books@ejurka.com
Subject: Re: Deadlock problem
In-Reply-To: <20051118212248.GG29354@phlogiston.dyndns.org>
References: <200511181209.000000EC@dev-null> <20051118180347.GA29354@phlogiston.dyndns.org> <Pine.BSO.4.61.0511181447040.11780@leary.csoft.net> <20051118212248.GG29354@phlogiston.dyndns.org>
* 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