Skip site navigation (1) Skip section navigation (2)

Re: Hot standby, freezing

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Hot standby, freezing
Date: 2009-11-11 15:07:53
Message-ID: 1257952073.5363.1594.camel@ebony (view raw, whole thread or download thread mbox)
Lists: 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 

In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2009-11-11 15:25:36
Subject: Re: Patch committers
Previous:From: Tom LaneDate: 2009-11-11 15:05:58
Subject: Re: Deadlock on the same object?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group