Re: transactions getting slon in councurrent environment - Mailing list pgsql-bugs

From Tom Lane
Subject Re: transactions getting slon in councurrent environment
Date
Msg-id 27724.1167363775@sss.pgh.pa.us
Whole thread Raw
In response to transactions getting slon in councurrent environment  (Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>)
Responses Re: transactions getting slon in councurrent environment  (Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>)
List pgsql-bugs
Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> writes:
> I got a incorrect or unexpected behavior in concurrent environment.

This is not a bug, nor even surprising.  Since you haven't committed
the second transaction, there are a growing number of
dead-but-not-recyclable versions of the updated row.  The active client
has to check each of these versions during its primary key uniqueness
check during each update.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "john lyssy"
Date:
Subject: BUG #2866: cast varchar to decimal failure
Next
From: Tom Lane
Date:
Subject: Re: BUG #2866: cast varchar to decimal failure