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

From Jeroen T. Vermeulen
Subject Re: Stupid question on Read Committed Isolation Level
Date
Msg-id 20040129180404.GE43961@xs4all.nl
Whole thread Raw
In response to Re: Stupid question on Read Committed Isolation Level  ("Jeroen T. Vermeulen" <jtv@xs4all.nl>)
List pgsql-hackers
On Thu, Jan 29, 2004 at 06:54:21PM +0100, Jeroen T. Vermeulen wrote:
> On Thu, Jan 29, 2004 at 01:33:48PM -0400, Marc G. Fournier wrote:
>  
> > What happens if I abort on the first transaction?  If I'm reading this

AFAICS the part about not having inconsistencies refers only to the
spectre of 'balance' being changed between its two conceptual accesses
in "SET balance = balance + 100.00".  The risk that remains is that the
two updates could see a combined state of the two relevant rows that may
never have existed at the same time--which doesn't matter for this simple
example.

This is explained in the text, but it remains a little murky IMHO.


Jeroen



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: msg translation into sk_SK, Docs: SGML -> XML
Next
From: Tom Lane
Date:
Subject: Re: Stupid question on Read Committed Isolation Level