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

From Bruce Momjian
Subject Re: Day and month name localization uses wrong
Date
Msg-id 200611241659.kAOGxfX22114@momjian.us
Whole thread Raw
In response to Re: Day and month name localization uses wrong locale category  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:
> Am Dienstag, 21. November 2006 00:52 schrieb Euler Taveira de Oliveira:
> > Finished. Sorry for the delay I had some trouble understanding how
> > backend treats the locale stuff (Neil pointed out the path).
> > Now TM mode is returning strftime() output. It would be nice if in the
> > future we change this to pg_strftime() but unfortunately the last one is
> > not i18n. :(
> 
> What's concerning me about the way this is written is that it calls 
> setlocale() for each formatting instance, which will be very slow.

Should we have it set from a guc hook on lc_time?

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Day and month name localization uses wrong locale category
Next
From: Tom Lane
Date:
Subject: Re: Various breakages in new contrib/isn module