View Single Post

   
  #5 (permalink)  
Old 04-12-2008, 06:40 AM
Bruce Momjian
 
Posts: n/a
Default Re: Day and month name localization uses wrong

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. +

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Reply With Quote