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/