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 1lz2nY-0004X0-GW for pgsql-general@arkaria.postgresql.org; Thu, 01 Jul 2021 19:56:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lz2nX-0004w0-3f for pgsql-general@arkaria.postgresql.org; Thu, 01 Jul 2021 19:56:31 +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 1lz2nV-0004vq-UN for pgsql-general@lists.postgresql.org; Thu, 01 Jul 2021 19:56:30 +0000 Received: from mx4.wp.pl ([212.77.101.12]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lz2nQ-0006cI-Tk for pgsql-general@lists.postgresql.org; Thu, 01 Jul 2021 19:56:28 +0000 Received: (wp-smtpd smtp.wp.pl 17903 invoked from network); 1 Jul 2021 21:56:18 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1625169378; bh=iqgqU29mQe8ZEodtKvGoDEsfoKA8Mm/K0fX2QzUEF0k=; h=Subject:To:From; b=sn6T4dClda01bkNe24IbMiP2ukNaWZlV4xYnG/yQwDIcFxow6dSkC3LJlRT+oonCJ dw0ZOkBEPuEYzvzf68ZXItXbLqmgW6J6bG5xj4rCtVbFhQvTojKoyEwYaUkq1emQh7 Im71GvB25CIMzKhS5faxvDlvAwjA5rDD2z8jhEr8= 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 21:56:18 +0200 Subject: Re: Damaged (during upgrade?) table, how to repair? To: pgsql-general@lists.postgresql.org References: <7a242c24-6bc7-2800-a857-6fbe8633382b@wp.pl> <0c827ef91e60470588d5ff4fe4394abb2ec8509d.camel@cybertec.at> From: "W.P." Message-ID: <7775fcc7-b41a-394f-3c58-8960b23dee40@wp.pl> Disposition-Notification-To: "W.P." Date: Thu, 1 Jul 2021 21:56:17 +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 In-Reply-To: <0c827ef91e60470588d5ff4fe4394abb2ec8509d.camel@cybertec.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-WP-MailID: e3140a22566e6117b40cc67a38d7b5bb X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000009 [AEPk] List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk W dniu 01.07.2021 o 16:19, Laurenz Albe pisze: > On Thu, 2021-07-01 at 10:56 +0200, W.P. wrote: >> 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). >> >> How can I (?) repair this table? (for recent data this works OK). > If you have a backup, take that. > > If not, hire an expert in data recovery. > > Yours, > Laurenz Albe I have something similar to backup: old database, but it is 9.5, how can I install 9.5 binaries / libs / config on Fedora 30 i386 (with PG11 installed) side-by-side? Laurent