Re: Case sensitive mode in windows build option

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Case sensitive mode in windows build option
Дата
Msg-id 52D4D144.4060701@2ndquadrant.com
обсуждение исходный текст
Ответ на Case sensitive mode in windows build option  (Dilip kumar <dilip.kumar@huawei.com>)
Ответы Re: Case sensitive mode in windows build option  (Dilip kumar <dilip.kumar@huawei.com>)
Список pgsql-hackers
On 01/14/2014 11:49 AM, Dilip kumar wrote:
>  
> 
> As per current behavior if user want to build in debug mode in windows,
> then he need to give debug in capital letters (DEBUG),
> 
> I think many user will always make mistake in giving this option, in my
> opinion we can make it case insensitive.

The idea seems reasonable, the implementation does not. You've changed
the meaning rather more than making it case insensitive.

Use the Perl 'lc' function to compare a lower-cased input instead.

http://perldoc.perl.org/functions/lc.html

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Dilip kumar
Дата:
Сообщение: Case sensitive mode in windows build option
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Performance Improvement by reducing WAL for Update Operation