Re: [HACKERS] failed assertion and panic in standby mode

2010-04-30 Thread Simon Riggs
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 rea

Re: [HACKERS] failed assertion and panic in standby mode

2010-04-29 Thread Heikki Linnakangas
Jaime Casanova wrote: > i was trying recent HS and get this when trying to start the standby, > actually i was expecting a crash because i use full_page_writes=off > and i guess it won't work. > Maybe we could say full_page_writes=off and wal_level=hot_standby are > conflicting and avoid such setup

Re: [HACKERS] failed assertion and panic in standby mode

2010-04-29 Thread Jaime Casanova
On Fri, Apr 30, 2010 at 12:03 AM, Tom Lane wrote: > Jaime Casanova writes: >> i was trying recent HS and get this when trying to start the standby, > >> TRAP: FailedAssertion("!(( (metabuffer) != 0 && (metabuffer) >= >> -NLocBuffer && (metabuffer) <= NBuffers ))", File: "ginxlog.c", Line: >> 590)

Re: [HACKERS] failed assertion and panic in standby mode

2010-04-29 Thread Tom Lane
Jaime Casanova writes: > i was trying recent HS and get this when trying to start the standby, > TRAP: FailedAssertion("!(( (metabuffer) != 0 && (metabuffer) >= > -NLocBuffer && (metabuffer) <= NBuffers ))", File: "ginxlog.c", Line: > 590) Hm, can you provide a test case?

[HACKERS] failed assertion and panic in standby mode

2010-04-29 Thread Jaime Casanova
Hi, i was trying recent HS and get this when trying to start the standby, actually i was expecting a crash because i use full_page_writes=off and i guess it won't work. Maybe we could say full_page_writes=off and wal_level=hot_standby are conflicting and avoid such setup? """ LOG: database system