From: Laurenz Albe <laurenz.albe@cybertec.at>
To: W.P. <laurentp@wp.pl>
To: pgsql-general@lists.postgresql.org
Subject: Re: Damaged (during upgrade?) table, how to repair?
Date: Thu, 01 Jul 2021 16:19:25 +0200
Message-ID: <0c827ef91e60470588d5ff4fe4394abb2ec8509d.camel@cybertec.at> (raw)
In-Reply-To: <7a242c24-6bc7-2800-a857-6fbe8633382b@wp.pl>
References: <7a242c24-6bc7-2800-a857-6fbe8633382b@wp.pl>
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
--
Cybertec | https://www.cybertec-postgresql.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, laurentp@wp.pl
Subject: Re: Damaged (during upgrade?) table, how to repair?
In-Reply-To: <0c827ef91e60470588d5ff4fe4394abb2ec8509d.camel@cybertec.at>
References: <7a242c24-6bc7-2800-a857-6fbe8633382b@wp.pl> <0c827ef91e60470588d5ff4fe4394abb2ec8509d.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox