Re: Synchronization levels in SR - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Synchronization levels in SR
Date
Msg-id AANLkTiknqYCdZJc3vHRFu1iLq5iMnfgpmrRtMxua5s1e@mail.gmail.com
Whole thread Raw
In response to Re: Synchronization levels in SR  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On Mon, Sep 6, 2010 at 5:02 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> Then I respectfully suggest that you're releasing locks too early.
>
> Your proposal would allow a 2nd user to see the results of the 1st
> user's transaction before the 1st user knew about whether it had
> committed or not.

Marking the transaction committed in CLOG will have that effect
anyway.  We are not doing strict two-phase locking.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Synchronous replication - patch status inquiry
Next
From: Robert Haas
Date:
Subject: Re: knngist - 0.8