Re: Day and month name localization uses wrong locale category

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Day and month name localization uses wrong locale category
Date: 2006-11-21 01:30:37
Message-ID: 16370.1164072637@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Euler Taveira de Oliveira <euler(at)timbira(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-11-21 01:46:46 Re: Severity of elog(FATAL) should vary by process
Previous Message Euler Taveira de Oliveira 2006-11-21 01:03:28 Re: Day and month name localization uses wrong locale category