Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fK3TD-00020E-LB for pgsql-general@arkaria.postgresql.org; Sat, 19 May 2018 15:08:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fK3TC-0001cp-GP for pgsql-general@arkaria.postgresql.org; Sat, 19 May 2018 15:08:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fK3TC-0001cf-8b for pgsql-general@lists.postgresql.org; Sat, 19 May 2018 15:08:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fK3T8-00023h-Jo for pgsql-general@postgresql.org; Sat, 19 May 2018 15:08:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w4JF8NNN026736; Sat, 19 May 2018 11:08:23 -0400 From: Tom Lane To: Justin Pryzby cc: pgsql-general@postgresql.org Subject: Re: postgres=# VACUUM FULL pg_statistic => ERROR: missing chunk number 0 for toast value .. in pg_toast_2619 In-reply-to: <20180519142603.GA30060@telsasoft.com> References: <20180519142603.GA30060@telsasoft.com> Comments: In-reply-to Justin Pryzby message dated "Sat, 19 May 2018 09:26:04 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26734.1526742503.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 19 May 2018 11:08:23 -0400 Message-ID: <26735.1526742503@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Justin Pryzby writes: > I'll defer fixing this for awhile in case someone wants me to save a cop= y 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