Re: locale changes

Поиск
Список
Период
Сортировка
От Karel Zak
Тема Re: locale changes
Дата
Msg-id Pine.LNX.3.96.1000720180025.11997U-100000@ara.zf.jcu.cz
обсуждение исходный текст
Ответ на Re: locale changes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Thu, 20 Jul 2000, Tom Lane wrote:

> Karel Zak <zakkr@zf.jcu.cz> writes:
> >     change_to_on_the_fly_locale_setting()
> >     to_char();
> >     set_original_locale();
>
> And if to_char throws an elog?

 elog can check how locale struct is actual..

> Another objection is that (if my experience with libc's
> timezone-dependent code is any guide) changing the locale that much
> is likely to be *slow*.  libc is designed on the assumption that you

 It is better argument for me :-). I hope that nobody be angry at me about
this patch. I was probably really a little premature... grrr 2 programming
hours are in /dev/null..

 If I good remember, one year ago when I discussed (via private mails)
about formatting date/time with Thomas, we said something about locales
out of libc. Any system table? Any planns?

                    Karel


В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: locale changes
Следующее
От: "Michael Richards"
Дата:
Сообщение: Patch to fix the NULL date cast bug in 7.0.2