pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: pgsql-general@postgresql.org
Subject: Re: postgres=# VACUUM FULL pg_statistic => ERROR: missing chunk number 0 for toast value .. in pg_toast_2619
Date: Sat, 19 May 2018 11:08:23 -0400
Message-ID: <26735.1526742503@sss.pgh.pa.us> (raw)
In-Reply-To: <20180519142603.GA30060@telsasoft.com>
References: <20180519142603.GA30060@telsasoft.com>

Justin Pryzby <pryzby@telsasoft.com> writes:
> I'll defer fixing this for awhile in case someone wants me to save a copy of
> the relation/toast/index.  From last time, I recall this just needs the right
> combination of REINDEX/VACUUM/ANALYZE, and the only complication was me
> needing to realize the right combination of affected DB(s).

If you could come up with such a sequence that causes the problem
reproducibly, that would be of huge interest, and probably lead to
a fix promptly.  But I don't think that we can do much by looking
at the post-mortem state --- once the toast rows are gone, they're
gone, especially if the table's been vacuumed since.

			regards, tom lane




view thread (8+ messages)  latest in thread

Message-ID: <26735.1526742503@sss.pgh.pa.us>
Permalink:  ../26735.1526742503@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26735.1526742503@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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pryzby@telsasoft.com
  Subject: Re: postgres=# VACUUM FULL pg_statistic => ERROR: missing chunk number 0 for toast value .. in pg_toast_2619
  In-Reply-To: <26735.1526742503@sss.pgh.pa.us>
  References: <20180519142603.GA30060@telsasoft.com> <26735.1526742503@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