Re: [PATCH] Cleanup of GUC units code

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: [PATCH] Cleanup of GUC units code
Дата
Msg-id 48BEA4B6.50705@commandprompt.com
обсуждение исходный текст
Ответ на Re: [PATCH] Cleanup of GUC units code  (Hannu Krosing <hannu@krosing.net>)
Ответы Re: [PATCH] Cleanup of GUC units code
Re: [PATCH] Cleanup of GUC units code
Список pgsql-hackers
Hannu Krosing wrote:
> On Tue, 2008-09-02 at 16:50 +0300, Peter Eisentraut wrote:
>> Gregory Stark wrote:
>>> Peter Eisentraut <peter_e@gmx.net> writes:

> Are you really afraid that someone would want to use mb to mean
> millibits ?
> 
> As SQL is generally case insensitive, it is quite surprising to most
> people that GUC units are not.

We have had this discussion before, I even submitted a patch to make 
them case insensitive. In retrospect I was wrong to submit that patch. 
SQL may be case insensitive but units are not. MB != Mb != mb , I don't 
think we should encourage in any way for users to do the wrong thing.

Sincerely,

Joshua D. Drake





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

Предыдущее
От: Andrew Chernow
Дата:
Сообщение: Re: libpq object hooks (libpq events)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Function call order dependency