Re: a SELECT FOR UPDATE question - Mailing list pgsql-general

From Tom Lane
Subject Re: a SELECT FOR UPDATE question
Date
Msg-id 27004.1108050044@sss.pgh.pa.us
Whole thread Raw
In response to Re: a SELECT FOR UPDATE question  (Michael Fuhr <mike@fuhr.org>)
Responses Re: a SELECT FOR UPDATE question  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
Michael Fuhr <mike@fuhr.org> writes:
> On Thu, Feb 10, 2005 at 09:53:49AM -0500, Tom Lane wrote:
>> xactC: starts, sets snapshot

> Hmmm...that's not what I'm seeing in 8.0.1, at least not when
> xactC is READ COMMITTED:

Remember RC mode takes a new snapshot for each query.  You'd need to
use serializable mode --- and do something to actually freeze the
transaction snapshot, which BEGIN does not --- to see the issue in a
manual test.

            regards, tom lane

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Understanding EXPLAIN ANALYZE output
Next
From: Alex Turner
Date:
Subject: Python Interface