Re: SELECT statements converted to SELECT FOR UPDATE - Mailing list pgsql-general

From Stephan Szabo
Subject Re: SELECT statements converted to SELECT FOR UPDATE
Date
Msg-id 20021023113726.X7340-100000@megazone23.bigpanda.com
Whole thread Raw
In response to SELECT statements converted to SELECT FOR UPDATE  (rmischook@yahoo.com (Richard Mischook))
List pgsql-general
On 22 Oct 2002, Richard Mischook wrote:

> We've got some deadlock issues that we're trying to solve. In looking
> at the logs we note a bunch of statements that were written as SELECT
> being listed by PG as SELECT FOR UPDATE. Was wondering what leads to
> that (foreign keys, transactions). We are using JDBC and are not tried
> setting the transaction isolation level of the connection.

Probably foreign keys as they use SELECT FOR UPDATE to handle the locking.


pgsql-general by date:

Previous
From: "Oleg Lebedev"
Date:
Subject: Rollback deletes
Next
From: Doug McNaught
Date:
Subject: Re: Rollback deletes