Re: 64-bit integers for GUC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 64-bit integers for GUC
Дата
Msg-id 8370.1153829755@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 64-bit integers for GUC  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> ISTM that before long someone will want to use more than 2 GB for work_mem.  
> Currently, you can't set more because it overflows the variable.

Yes you can, because the value is measured in KB.

Now, if you were to redefine it as being measured in bytes, you would
have a backlash, because people already are using values above 2GB.

> I'm not sure a wholesale switch of GUC integers to 64 bit is the
> solution.

I'd be fairly worried about whether that wouldn't mean we fail
completely on INT64_IS_BROKEN platforms ...
        regards, tom lane


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Forcing current WAL file to be archived
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Forcing current WAL file to be archived