Re: failed assertion and panic in standby mode - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: failed assertion and panic in standby mode
Date
Msg-id 1272628736.4161.16330.camel@ebony
Whole thread Raw
In response to Re: failed assertion and panic in standby mode  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Fri, 2010-04-30 at 09:35 +0300, Heikki Linnakangas wrote:

> Hmm, I see a bug in btree_redo handling of XLOG_BTREE_REUSE_PAGE. If
> hot standby is not enabled in the standby, it chokes on that record
> type. It's missing from btree_desc too.

Yep, correct fix.

> This demonstrates that there really has been little testing of warm
> standby with hot standby disabled :-).

Agreed, exactly why I'm not convinced turning it off makes you safer.
Most people will turn it on and so it will remain a less well tested
path through the code.

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: missing file in git repo
Next
From: Heikki Linnakangas
Date:
Subject: Re: missing file in git repo