Re: Review: Hot standby - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Review: Hot standby
Date
Msg-id 26861.1227890676@sss.pgh.pa.us
Whole thread Raw
In response to Re: Review: Hot standby  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Review: Hot standby  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Fri, 2008-11-28 at 11:14 -0500, Tom Lane wrote:
>> The sinval queue is an *utterly* inappropriate
>> mechanism for such a thing.

> To be honest, it did seem quite a neat solution. Any particular
> direction of thought you'd like me to pursue instead?

I hadn't been following the discussion closely enough to know what the
problem is.  But "cancel the current transaction" is far outside the
bounds of what sinval events are supposed to do.  If you try to do that
we'll forever be fighting bugs in code that expected
AcceptInvalidationMessages to do no more than invalidate cache entries.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Distinct types
Next
From: Tom Lane
Date:
Subject: Re: Distinct types