Re: BUG #16844: Relation mapping file "global/pg_filenode.map" contains invalid data

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: lucas(dot)valardao(at)gmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16844: Relation mapping file "global/pg_filenode.map" contains invalid data
Date: 2021-01-29 02:53:18
Message-ID: CAH2-Wzmksro9c=MZJfA98JXGAhmeKL_pk7GEPftqmqQtxK2Adw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Jan 28, 2021 at 6:40 PM Kyotaro Horiguchi
<horikyota(dot)ntt(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kyotaro Horiguchi 2021-01-29 07:14:09 Re: BUG #16844: Relation mapping file "global/pg_filenode.map" contains invalid data
Previous Message Kyotaro Horiguchi 2021-01-29 02:40:44 Re: BUG #16844: Relation mapping file "global/pg_filenode.map" contains invalid data