Re: Case sensitive mode in windows build option - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: Case sensitive mode in windows build option
Date
Msg-id 52D4D144.4060701@2ndquadrant.com
Whole thread Raw
In response to Case sensitive mode in windows build option  (Dilip kumar <dilip.kumar@huawei.com>)
Responses Re: Case sensitive mode in windows build option  (Dilip kumar <dilip.kumar@huawei.com>)
List 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 by date:

Previous
From: Dilip kumar
Date:
Subject: Case sensitive mode in windows build option
Next
From: Amit Kapila
Date:
Subject: Re: Performance Improvement by reducing WAL for Update Operation