Re: making relfilenodes 56 bits - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: making relfilenodes 56 bits
Date
Msg-id Y1I1mD0OhjbdXPNS@paquier.xyz
Whole thread Raw
In response to Re: making relfilenodes 56 bits  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: making relfilenodes 56 bits
List pgsql-hackers
On Thu, Sep 29, 2022 at 09:23:38PM -0400, Tom Lane wrote:
> Hmmm ... I'd tend to do SELECT COUNT(*) FROM.  But can't we provide
> any actual checks on the sanity of the output?  I realize that the
> output's far from static, but still ...

Honestly, checking all the fields is not that exciting, but the
maximum I can think of that would be portable enough is something like
the attached.  No arithmetic operators for xid limits things a bit,
but at least that's something.

Thoughts?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: TRAP: FailedAssertion("prev_first_lsn < cur_txn->first_lsn", File: "reorderbuffer.c", Line: 927, PID: 568639)
Next
From: Bharath Rupireddy
Date:
Subject: Re: Avoid memory leaks during base backups