Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWKON-0004Z3-LH for pgsql-general@arkaria.postgresql.org; Tue, 13 Apr 2021 14:51:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lWKOM-00013R-GE for pgsql-general@arkaria.postgresql.org; Tue, 13 Apr 2021 14:51:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWKOM-00013K-8g for pgsql-general@lists.postgresql.org; Tue, 13 Apr 2021 14:51:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWKOK-0004mZ-71 for pgsql-general@postgresql.org; Tue, 13 Apr 2021 14:51:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 13DEpikv3190468; Tue, 13 Apr 2021 10:51:44 -0400 From: Tom Lane To: Ma Xinjian cc: pgsql-general@postgresql.org Subject: Re: "missing chunk number 0 for toast value xxx in pg_toast_xxx" when pg_basebackup In-reply-to: <1618306690542-0.post@n3.nabble.com> References: <1618306690542-0.post@n3.nabble.com> Comments: In-reply-to Ma Xinjian message dated "Tue, 13 Apr 2021 02:38:10 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3190466.1618325504.1@sss.pgh.pa.us> Date: Tue, 13 Apr 2021 10:51:44 -0400 Message-ID: <3190467.1618325504@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ma Xinjian writes: > When I use pg_basebackup to backup and restore db(Let's call it A) to a > standalone instance(Let's call it B), "missing chunk number 0 for toast > value xxx in pg_toast_xxx" errors output. > PG version: 10.3 10.3 is quite a few bug fixes ago. Maybe you'd have better results with the current release (10.16). regards, tom lane