From: Tom Lane <tgl@sss.pgh.pa.us>
To: kevin.hughes@uk.fujitsu.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9187: corrupt toast tables
Date: Tue, 11 Feb 2014 16:19:50 -0500
Message-ID: <30154.1392153590@sss.pgh.pa.us> (raw)
In-Reply-To: <20140211162408.2713.81446@wrigleys.postgresql.org>
References: <20140211162408.2713.81446@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
kevin.hughes@uk.fujitsu.com writes:
> Sometime between the morning of the 31st of January and the morning of the
> 3rd of February the database was corrupted. During that period there was
> little or no activity - other than the nightly postgres dump
> Looking at various logs we found this error: ERROR: unexpected chunk number
> 110 (expected 106) for toast value 223972 in pg_toast_80768;
FWIW, this type of error is sometimes due to corruption in the toast
table's index, in which case you can fix it with a REINDEX. I'd try
that before deleting data, anyway.
Hard to tell what the actual underlying cause is :-(. I do note that
you're running a PG version that's a year or so old. It'd be prudent
to think about updating to 9.2.7 when that comes out next week.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, kevin.hughes@uk.fujitsu.com
Subject: Re: BUG #9187: corrupt toast tables
In-Reply-To: <30154.1392153590@sss.pgh.pa.us>
References: <20140211162408.2713.81446@wrigleys.postgresql.org> <30154.1392153590@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