Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.3/8.11.1) with SMTP id f2L4SVH57785 for ; Tue, 20 Mar 2001 23:28:31 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from mailer.sectorbase.com (gate1.sectorbase.com [63.88.121.2]) by mail.postgresql.org (8.11.3/8.11.1) with SMTP id f2KIIvN28532 for ; Tue, 20 Mar 2001 13:18:57 -0500 (EST) (envelope-from vmikheev@SECTORBASE.COM) Received: (qmail 96235 invoked by uid 503); 20 Mar 2001 18:18:56 -0000 Received: from sectorbase1.sectorbase.com (192.168.254.1) by gate1.sectorbase.com with SMTP; 20 Mar 2001 18:18:56 -0000 Received: by sectorbase1.sectorbase.com with Internet Mail Service (5.5.2653.19) id ; Tue, 20 Mar 2001 10:18:55 -0800 Message-ID: <8F4C99C66D04D4118F580090272A7A234D3334@sectorbase1.sectorbase.com> From: "Mikheev, Vadim" To: "'Tom Lane'" , jdassen@cistron.nl Cc: pgsql-admin@postgresql.org Subject: RE: Re: PostgreSQL; Strange error Date: Tue, 20 Mar 2001 10:18:49 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200103/160 X-Sequence-Number: 1007 > >> Warning: PostgreSQL query failed: FATAL 1: my bits moved > >> right off the end of the world! Recreate index > >> pg_attribute_relid_attnum_index. > > This is an internal "can't happen" failure condition, > presumably arising from some weird corner-case bug in btree > index manipulation. We have seen sporadic reports of this > failure, mostly from people using lots of large objects, > but no one has yet provided a test case that allows > the problem to be reproduced from scratch. When I'm in an Just use gdb to prevent parent btree page update after split and you'll get that error next time when splitting new, unpointed from parent, right sibling. In real life you have !0 probability to get same case without gdb just by pg_ctl -m fast stop, not to mention pg_ctl -m immediate stop, power off and OS' crash. > optimistic mood I think that the bug might be fixed in 7.1, > but it's hard to say for sure because I've never seen this > failure happen myself. Just add elog(ERROR) after split to see this. This is what I made to test new btree runtime recovery code in 7.1. Vadim