Re: Deadlock condition in driver - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: Deadlock condition in driver
Date
Msg-id Pine.BSO.4.64.0805211635180.11284@leary.csoft.net
Whole thread Raw
In response to Deadlock condition in driver  (Daniel Migowski <dmigowski@ikoffice.de>)
Responses Re: Deadlock condition in driver
Re: Deadlock condition in driver
List pgsql-bugs
On Wed, 21 May 2008, Daniel Migowski wrote:

> I came across a deadlock condition in the JDBC driver that rises when very
> large queries, containing thousends of statements are send to the server with
> statement.execute().

We already consider this case for batch execution and break the batch into
an internal size that we expect is safe from deadlock.  It looks like we
should be doing the same for these one query batches.  I'm not sure how
tough that will be, but I'll take a look.

Kris Jurka

pgsql-bugs by date:

Previous
From: Daniel Migowski
Date:
Subject: Deadlock condition in driver
Next
From: "Thomas H"
Date:
Subject: BUG #4186: set lc_messages does not work