Re: Units in postgresql.conf -- How to report?

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Units in postgresql.conf -- How to report?
Дата
Msg-id 20060725010628.GB30350@fetter.org
обсуждение исходный текст
Ответ на Units in postgresql.conf -- How to report?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Mon, Jul 24, 2006 at 11:13:53PM +0200, Peter Eisentraut wrote:
> So assuming we allowed units in postgresql.conf, how would you report 
> them with SHOW?
> 
> 1. The way they were set (hard)
> 
> 2. Without units (not user-friendly)
> 
> 3. Always in base units (seconds or bytes)
> 
> 4. The largest unit that gives an integer
> 
> (4) seems the most reasonable to me in terms of interface and 
> implementation.

I'm for (4), as it's also what people are used to from things like
GNU's -h option.

Cheers,
D
-- 
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666                             Skype: davidfetter

Remember to vote!


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: On-disk bitmap index patch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: RESET CONNECTION?