pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mikheev, Vadim <vmikheev@SECTORBASE.COM>
To: '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 10:18:49 -0800
Message-ID: <8F4C99C66D04D4118F580090272A7A234D3334@sectorbase1.sectorbase.com> (raw)

> >> 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



view thread (5+ messages)  latest in thread

Message-ID: <8F4C99C66D04D4118F580090272A7A234D3334@sectorbase1.sectorbase.com>
Permalink:  ../8F4C99C66D04D4118F580090272A7A234D3334@sectorbase1.sectorbase.com/
Also on:    postgresql.org/message-id/8F4C99C66D04D4118F580090272A7A234D3334@sectorbase1.sectorbase.com

 · 

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: vmikheev@SECTORBASE.COM, tgl@sss.pgh.pa.us, jdassen@cistron.nl
  Subject: Re: PostgreSQL; Strange error
  In-Reply-To: <8F4C99C66D04D4118F580090272A7A234D3334@sectorbase1.sectorbase.com>
  References: <8F4C99C66D04D4118F580090272A7A234D3334@sectorbase1.sectorbase.com>

* 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