Re: Deadlock condition in driver

From: Kris Jurka <books(at)ejurka(dot)com>
To: Daniel Migowski <dmigowski(at)ikoffice(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Deadlock condition in driver
Date: 2008-05-21 20:45:21
Message-ID: Pine.BSO.4.64.0805211635180.11284@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message TIAN Justin 2008-05-22 02:15:19 Re: error message "psql: expected authentication request from server, but received " when using psql to connect remote database
Previous Message Daniel Migowski 2008-05-21 20:10:47 Deadlock condition in driver