Re: Day and month name localization uses wrong locale category - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Day and month name localization uses wrong locale category
Date
Msg-id 16370.1164072637@sss.pgh.pa.us
Whole thread Raw
In response to Re: Day and month name localization uses wrong locale category  (Euler Taveira de Oliveira <euler@timbira.com>)
Responses Re: Day and month name localization uses wrong locale category  (Euler Taveira de Oliveira <euler@timbira.com>)
List pgsql-hackers
Euler Taveira de Oliveira <euler@timbira.com> writes:
> Tom Lane wrote:
>> locale_time is a global GUC variable, so there is surely no point in the
>> above function.  I have not looked at the rest of the patch.
>> 
> I know that. If I didn't use it how could i know what is the current
> LC_TIME setting?

You just look at the variable directly.  While there's sometimes value
in an encapsulation function, I fail to see any here.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Severity of elog(FATAL) should vary by process
Next
From: Neil Conway
Date:
Subject: Re: quick review