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

From Joshua Drake
Subject Re: making relfilenodes 56 bits
Date
Msg-id CAJvJg-RMip1+z7caB+oPHBda9pkRm7n30EfZ3+R0hpoE1xt4uw@mail.gmail.com
Whole thread Raw
In response to Re: making relfilenodes 56 bits  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers


On Thu, Jul 28, 2022 at 9:52 AM Robert Haas <robertmhaas@gmail.com> wrote:
On Thu, Jul 28, 2022 at 11:59 AM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> I do wonder why do we keep relfilenodes limited to decimal digits.  Why
> not use hex digits?  Then we know the limit is 14 chars, as in
> 0x00FFFFFFFFFFFFFF in the MAX_RELFILENUMBER definition.

Hmm, but surely we want the error messages to be printed using the
same format that we use for the actual filenames. We could make the
filenames use hex characters too, but I'm not wild about changing
user-visible details like that.

From a DBA perspective this would be a regression in usability.

JD

--

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: making relfilenodes 56 bits
Next
From: Matthias van de Meent
Date:
Subject: Re: ci: update to freebsd 13.1 / remove minor versions from image names