Re: a SELECT FOR UPDATE question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Tim Vadnais <tvadnais(at)bwks(dot)com>, "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: a SELECT FOR UPDATE question
Date: 2005-02-10 15:40:44
Message-ID: 27004.1108050044@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Fuhr <mike(at)fuhr(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alex Turner 2005-02-10 15:58:05 Python Interface
Previous Message Michael Fuhr 2005-02-10 15:36:10 Re: Understanding EXPLAIN ANALYZE output