From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amir Becher <abecher@yahoo.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Corrupt index
Date: Thu, 10 Apr 2003 14:04:00 -0400
Message-ID: <5438.1049997840@sss.pgh.pa.us> (raw)
In-Reply-To: <20030410172120.98514.qmail@web13904.mail.yahoo.com>
References: <20030410172120.98514.qmail@web13904.mail.yahoo.com>
Amir Becher <abecher@yahoo.com> writes:
> Here is an example of the misbehavior that I am
> seeing:
> [snip]
> The main point is that "column_a" is the wrong number.
Hmm. This looks like you must have an index entry pointing at the wrong
heap tuple. Which is not something we hear of regularly, and certainly
not an error that I'd expect to see appearing in isolation.
You didn't say in so many words, but should I take it that (a) this
pattern of misbehavior (wrong row returned) occurs repeatedly for you,
and (b) there are no other signs of problems (backend unexpectedly
quits, strange error messages, that sort of thing)?
I can't really think of any plausible mechanism for this to happen,
except for the index and table files getting out of sync somehow.
Are you doing anything that operates directly on the database files
(for example, doing backup/restore with cp or tar or some such)?
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, abecher@yahoo.com
Subject: Re: Corrupt index
In-Reply-To: <5438.1049997840@sss.pgh.pa.us>
References: <20030410172120.98514.qmail@web13904.mail.yahoo.com> <5438.1049997840@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