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

From Alvaro Herrera
Subject Re: making relfilenodes 56 bits
Date
Msg-id 20220729093633.7wdhyxhik4smnzg5@alvherre.pgsql
Whole thread Raw
In response to Re: making relfilenodes 56 bits  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2022-Jul-28, Robert Haas 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.

Of course.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"Most hackers will be perfectly comfortable conceptualizing users as entropy
 sources, so let's move on."                               (Nathaniel Smith)



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Functions 'is_publishable_class' and 'is_publishable_relation' should stay together.
Next
From: Peter Smith
Date:
Subject: Re: Functions 'is_publishable_class' and 'is_publishable_relation' should stay together.