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