Re: GUC with units, details

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: GUC with units, details
Дата
Msg-id 200607271032.23816.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: GUC with units, details  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: GUC with units, details  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> It is.  For instance shared_buffers is configured as the number of
> buffers.  What we're talking about here is ways to specify the
> intended usage with other units (eg "I want N megabytes of shared
> buffers") but that's not going to magically let you allocate half a
> shared buffer. Peter's not said exactly how he plans to deal with
> this, but I suppose it'll round off one way or the other ...

It'll get truncated by integer division.  I wouldn't mind if someone 
proposed a patch to create a warning or error in this case, but I 
wanted to keep the initial version simple.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: GUC with units, details
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: GUC with units, details