Re: BUG #16844: Relation mapping file "global/pg_filenode.map" contains invalid data - Mailing list pgsql-bugs

From Peter Geoghegan
Subject Re: BUG #16844: Relation mapping file "global/pg_filenode.map" contains invalid data
Date
Msg-id CAH2-Wzmksro9c=MZJfA98JXGAhmeKL_pk7GEPftqmqQtxK2Adw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #16844: Relation mapping file "global/pg_filenode.map" contains invalid data  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: BUG #16844: Relation mapping file "global/pg_filenode.map" contains invalid data  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
List pgsql-bugs
On Thu, Jan 28, 2021 at 6:40 PM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:
> Otherwise..., the last choice is inspecting the cluster in
> binary-level to infer the relation map then create the file from
> scratch... Almost impossible.

pg_hexedit includes a tool that can output the contents of a
pg_filenode.map file. It wouldn't be that hard to put one together if
you were extremely motivated.

However, even that probably would not be enough. I don't see any
reason to imagine that that's the only file that's corrupt.

-- 
Peter Geoghegan



pgsql-bugs by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: BUG #16844: Relation mapping file "global/pg_filenode.map" contains invalid data
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: BUG #16844: Relation mapping file "global/pg_filenode.map" contains invalid data