Re: GUC time unit spelling a bit inconsistent

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: GUC time unit spelling a bit inconsistent
Дата
Msg-id 467A7934.3030102@dunslane.net
обсуждение исходный текст
Ответ на Re: GUC time unit spelling a bit inconsistent  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: GUC time unit spelling a bit inconsistent  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers

Peter Eisentraut wrote:
>
> If everyone around here had gotten their way we'd already be in a situation 
> were you could write
>
> log_rotation_age = 5m
> log_rotation_size = 5m
>
> And someone trained in the metric system would think, "What, five meters?".  
> So it rotates when age and size are the same or what?  And the ultimate 
> consequence of that thinking is that the PostgreSQL developers are uneducated 
> dummies and clearly PostgreSQL cannot be a quality product if they can't even 
> get that right.
>
>
>   

You don't seem to have any understanding that the units should be
interpreted in context. Nobody in their right mind (or perhaps only an
undeducated dummy) will think that 5m might mean five meters for
something called log_rotation_age.  You might argue that it is ambiguous
between minutes and months - and for that reason at least I don't think
we should allow "m" as a unit of time. But that's a different argument.

cheers

andrew



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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: GUC time unit spelling a bit inconsistent
Следующее
От: "Marko Kreen"
Дата:
Сообщение: Re: GUC time unit spelling a bit inconsistent