Re: Encoding and i18n - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: Encoding and i18n
Date
Msg-id 47085C2B.6070001@timbira.com
Whole thread Raw
In response to Re: Encoding and i18n  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Gregory Stark wrote:

> It seems to me we aren't actually using strftime any more in any case. We seem
> to be using things like _("Monday") instead. Except in my tests I don't get
> any French dates even when the server is started in French mode. I think we
> just don't have localizations for those strings yet.
> 
This was already discussed [1]. I proposed a patch (that was rejected)
because it calls setlocale() in every template pattern in to_char()
IIRC. I coded a patch to implement the setlocale() caching mechanism but
didn't send it. :( I'll take a look and this.

[1] http://archives.postgresql.org/pgsql-hackers/2006-11/msg00523.php


--  Euler Taveira de Oliveira http://www.timbira.com/


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: ECPG regression tests
Next
From: "Gokulakannan Somasundaram"
Date:
Subject: Re: Improving the Performance of Full Table Updates