Re: PANIC: right sibling 2019 of block 2018 is not next child of 1937 in index "sl_log_2_idx1" - Mailing list pgsql-general

From Greg Smith
Subject Re: PANIC: right sibling 2019 of block 2018 is not next child of 1937 in index "sl_log_2_idx1"
Date
Msg-id 4B3BF98E.4030703@2ndquadrant.com
Whole thread Raw
In response to Re: PANIC: right sibling 2019 of block 2018 is not next child of 1937 in index "sl_log_2_idx1"  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
John R Pierce wrote:
> It appears you have at least one corrupt block.   Where there's one,
> there's often more.
>
> I think i'd do a reindex all.   and Imight even do a pg_dumpall,
> re-initdb, and restore said dumpall to be safeest.   to be really
> safe, stop pg, and take a file system backup first, incase more
> serious problems show up during the reindex or dump process

I would add a basic check of the system hardware to that list.  In
particular, I'm always suspicious of memory errors when seeing strange
PANIC messages.  A quick check for SMART errors on the hard drives would
be in order too.

--
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com


pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: PANIC: right sibling 2019 of block 2018 is not next child of 1937 in index "sl_log_2_idx1"
Next
From: Craig Ringer
Date:
Subject: Re: Visual DATA editor for PostgreSQL?