Re: A varint implementation for PG?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: A varint implementation for PG?
Дата
Msg-id CA+TgmoZrnxd81eWCOXSnAhof6WrRg2Bpqroquu04nqhEWG-YJg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: A varint implementation for PG?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Wed, Aug 4, 2021 at 3:46 PM Andres Freund <andres@anarazel.de> wrote:
> > But what if I have a machine with more than 16 exabytes of RAM and I
> > want to use all of its memory to store one really big integer?
>
> Then the embedded 8 byte length value would just have to do the same thing
> recursively to store that huge length header :)

Well, yes. But more seriously, my point is that I can't imagine why we
would need an object with a length bounded by 2^64. I mean I suppose
there's no harm in looking to the future, but that's *really big*.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: straightening out backend process startup
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: A varint implementation for PG?