Re: Converting postgresql.conf parameters to kilobytes

Поиск
Список
Период
Сортировка
От Harald Fuchs
Тема Re: Converting postgresql.conf parameters to kilobytes
Дата
Msg-id puwu2s4vq2.fsf@srv.protecting.net
обсуждение исходный текст
Ответ на Converting postgresql.conf parameters to kilobytes  (Shridhar Daithankar <shridhar@frodo.hserus.net>)
Список pgsql-hackers
In article <15702.1085933038@sss.pgh.pa.us>,
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Shridhar Daithankar <shridhar@frodo.hserus.net> writes:
>> I was toying around with idea of converting all the memory related
>> parameters in postgresql.conf to kilobytes for simplicity and
>> uniformity.

> Why is that a good idea?

Two reasons:
1. Some values are in KB, some in 8 KB
2. I find it easier to calculate in KB

I'd like to see the following:
* If the value is purely numeric, treat it as before (to ensure compatibility with older versions)
* If the value is numeric with a prefix of [KMG], interpret it as KB, MB, or GB, respectively



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Default Locale in initdb
Следующее
От: Pierre Emmanuel Gros
Дата:
Сообщение: constraint upon view