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