Re: Hot standby, freezing - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Hot standby, freezing
Date
Msg-id 1257952073.5363.1594.camel@ebony
Whole thread Raw
In response to Hot standby, freezing  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Wed, 2009-11-11 at 12:35 +0200, Heikki Linnakangas wrote:
> While reading through the patch for what must be the 100th time by now,

:-)

> it occurred to me that this comment in heap_xlog_freeze:
> 
> +       /*
> +        * Freezing tuples does not require conflict processing
> +        */
> 
> is plain wrong. In the master, we can freeze the xmin of a tuple that's
> not yet visible to all read-only transactions in the standby. We do need
> conflict processing there.

I agree. Hmph, I wonder why I thought otherwise?

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Deadlock on the same object?
Next
From: Bruce Momjian
Date:
Subject: Re: Patch committers