Re: making relfilenodes 56 bits

Поиск
Список
Период
Сортировка
От Joshua Drake
Тема Re: making relfilenodes 56 bits
Дата
Msg-id CAJvJg-RMip1+z7caB+oPHBda9pkRm7n30EfZ3+R0hpoE1xt4uw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: making relfilenodes 56 bits  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: making relfilenodes 56 bits
Следующее
От: Matthias van de Meent
Дата:
Сообщение: Re: ci: update to freebsd 13.1 / remove minor versions from image names