pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: jdassen@cistron.nl
Cc: pgsql-admin@postgresql.org
Subject: Re: Re: PostgreSQL; Strange error
Date: Tue, 20 Mar 2001 12:52:48 -0500
Message-ID: <11596.985110768@sss.pgh.pa.us> (raw)
In-Reply-To: <slrn9bf45n.6ou.jdassen@odin.cistron-office.nl>
References: <3AB73889.D2C565A8@some.site>
	<slrn9bf45n.6ou.jdassen@odin.cistron-office.nl>

jdassen@cistron.nl (J.H.M. Dassen (Ray)) writes:
> Bengt MÃ¥nsson <name@some.site> 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



view thread (5+ messages)  latest in thread

Message-ID: <11596.985110768@sss.pgh.pa.us>
Permalink:  ../11596.985110768@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11596.985110768@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jdassen@cistron.nl
  Subject: Re: PostgreSQL; Strange error
  In-Reply-To: <11596.985110768@sss.pgh.pa.us>
  References: <3AB73889.D2C565A8@some.site> <slrn9bf45n.6ou.jdassen@odin.cistron-office.nl> <11596.985110768@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox