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