Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2KHr2N96174 for ; Tue, 20 Mar 2001 12:53:02 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.1/8.11.1) with ESMTP id f2KHqmt11599; Tue, 20 Mar 2001 12:52:48 -0500 (EST) To: jdassen@cistron.nl (J.H.M. Dassen (Ray)) cc: pgsql-admin@postgresql.org Subject: Re: Re: PostgreSQL; Strange error In-reply-to: References: <3AB73889.D2C565A8@some.site> Comments: In-reply-to jdassen@cistron.nl (J.H.M. Dassen (Ray)) message dated "Tue, 20 Mar 2001 17:19:32 +0000" Date: Tue, 20 Mar 2001 12:52:48 -0500 Message-ID: <11596.985110768@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200103/154 X-Sequence-Number: 1001 jdassen@cistron.nl (J.H.M. Dassen (Ray)) writes: > Bengt Månsson wrote: >> 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 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. > Follow the suggestion given in the warning: recreate index > pg_attribute_relid_attnum_index, presumably [*] using something like > DROP INDEX pg_attribute_relid_attnum_index; > CREATE UNIQUE INDEX pg_attribute_relid_attnum_index ON > pg_attribute(attrelid,attnum); I think that will probably crash and burn :-(. To reconstruct a broken system index you need to use the REINDEX command. See the manual for the proper procedure for using REINDEX on system indexes; it's a tad arcane. regards, tom lane