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 1mAwmO-0001Ih-LT for pgsql-general@arkaria.postgresql.org; Tue, 03 Aug 2021 15:56:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mAwmN-0006Pc-LW for pgsql-general@arkaria.postgresql.org; Tue, 03 Aug 2021 15:56:31 +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 1mAwmN-0006PT-CU for pgsql-general@lists.postgresql.org; Tue, 03 Aug 2021 15:56:31 +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 1mAwmL-0004VV-7Z for pgsql-general@lists.postgresql.org; Tue, 03 Aug 2021 15:56:31 +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 173FuObq1717023; Tue, 3 Aug 2021 11:56:24 -0400 From: Tom Lane To: Gilar Ginanjar cc: pgsql-general , Vijaykumar Jain , Adrian Klaver Subject: Re: Unexpected block ID found when reading data In-reply-to: <87BF3B40-04F5-4A25-842C-8A97ACE5D165@innovation-project.com> References: <0E5BA871-06D7-413B-930E-4A523FF1847C@innovation-project.com> <08fc89dd-c974-880d-26ca-c1a6c7ab1d1d@aklaver.com> <1703671.1627999173@sss.pgh.pa.us> <87BF3B40-04F5-4A25-842C-8A97ACE5D165@innovation-project.com> Comments: In-reply-to Gilar Ginanjar message dated "Tue, 03 Aug 2021 22:20:10 +0700" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1717021.1628006184.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Tue, 03 Aug 2021 11:56:24 -0400 Message-ID: <1717022.1628006184@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Gilar Ginanjar writes: > This is the output for "pg_restore —version”: > pg_restore (PostgreSQL) 12.7 Hmph. That's current, so it has the bug fixes that I thought might be related. Either you've hit a previously-unknown bug, or the file actually is corrupt :-(. Have you tried running the restore without the -j option? regards, tom lane