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 1lysUb-0007mp-VO for pgsql-general@arkaria.postgresql.org; Thu, 01 Jul 2021 08:56:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lysUa-0003mF-Qr for pgsql-general@arkaria.postgresql.org; Thu, 01 Jul 2021 08:56:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lysUa-0003m6-Dw for pgsql-general@lists.postgresql.org; Thu, 01 Jul 2021 08:56:16 +0000 Received: from mx3.wp.pl ([212.77.101.10]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lysUX-0001Jl-Ih for pgsql-general@lists.postgresql.org; Thu, 01 Jul 2021 08:56:15 +0000 Received: (wp-smtpd smtp.wp.pl 23375 invoked from network); 1 Jul 2021 10:56:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1625129767; bh=MS/Vfu28/wApj/inu4sbSxJLax7Lh3+0biolKMi9jmY=; h=From:Subject:To; b=WqkHLEQDLZe/YflxNHoD3sD+1FIjWJH97o/h2RF9M7MBE9YDov5c414m7F+R/B7gq g8aSxe5bEDDJeN83634CaTnBkyS6D+HJ2D+X7wIQauvd2lSMVcsDtqhBFL19aRz59a X4bbd52j4xHgrkno0mMlBanZEkKXtY8+uco/ubwE= Received: from afmv206.neoplus.adsl.tpnet.pl (HELO [192.168.1.210]) (laurentp@wp.pl@[178.42.73.206]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 1 Jul 2021 10:56:06 +0200 From: "W.P." Subject: Damaged (during upgrade?) table, how to repair? To: pgsql-general@lists.postgresql.org Message-ID: <7a242c24-6bc7-2800-a857-6fbe8633382b@wp.pl> Date: Thu, 1 Jul 2021 10:56:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-WP-MailID: ff9aeb1e3b772129450b8d3aa2123e41 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000009 [oBPE] List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi there, I have a PG 11.12 (was 9.5 or 9.5) upgraded from 9.x (during OS upgrade). One table is now damaged, trying to dump it results in server restart, message is "invalid record length xxxx maximum is yyy" (from memory). Also fails pg_dumpall. How can I (?) repair this table? (for recent data this works OK). Laurent