Re: Stupid question on Read Committed Isolation Level - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Stupid question on Read Committed Isolation Level
Date
Msg-id 25435.1075400494@sss.pgh.pa.us
Whole thread Raw
In response to Re: Stupid question on Read Committed Isolation Level  (Chris Bowlby <chris@pgsql.com>)
List pgsql-hackers
Chris Bowlby <chris@pgsql.com> writes:
> Would this not create the potention for a dead lock if transaction1 is
> never completed, and still active for an indefinate period of time?

If trans1 later waits (directly or indirectly) for trans2, we'll detect
the deadlock and abort one xact or the other to clear it.  If trans1 is
idle because the client is asleep at the wheel, that could be
unfortunate, but it's not a deadlock.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Chris Bowlby
Date:
Subject: Re: Stupid question on Read Committed Isolation Level
Next
From: "Jeroen T. Vermeulen"
Date:
Subject: Re: Stupid question on Read Committed Isolation Level