From: marc@intershop.de
To: pgsql-bugs@postgresql.org
Subject: BUG #14484: ERROR: missing chunk number 0 for toast value
Date: Wed, 04 Jan 2017 08:56:05 +0000
Message-ID: <20170104085605.10139.58867@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14484
Logged by: Marc Mamin
Email address: marc@intershop.de
PostgreSQL version: 9.6.1
Operating system: Linux 3.7.10-1.45-default #1 SMP Tue Dec 16 20:27:
Description:
According to the mailing lists this seems to be a bug that is though to be
fixed...
I got this error once during manual vacuum while evaluating deletion of old
toasted value by replacing them with a short text.
For this, I have alternated bunch insertions of large values with updates of
older one:
UPDATE mytable set msg='deleted'
FROM (
SELECT id
FROM mytable
WHERE t < now() - interval '10d'
AND msg <> 'deleted'
LIMIT 1000
)todel
WHERE mytable.id=todel.id
after a while I got the error during a vacuum full:
vacuum (full, analyze ,verbose)mytable
ERROR: missing chunk number 0 for toast value 442005 in pg_toast_397983
SQL state: XX000
as suggested here I could fix it with an analyze of that table:
https://www.postgresql.org/message-id/CAL7VFcJYBiVLjAiXqwdAWw9noeef2tM0bj-%3Dw_2um6b6RacA6Q%40mail.g...
I couldn't reproduce it though.
best regards,
Marc Mamin
--
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: marc@intershop.de
Subject: Re: BUG #14484: ERROR: missing chunk number 0 for toast value
In-Reply-To: <20170104085605.10139.58867@wrigleys.postgresql.org>
References: <20170104085605.10139.58867@wrigleys.postgresql.org>
* 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