On Thu, 20 Jul 2000, Tom Lane wrote:
> Karel Zak <zakkr(at)zf(dot)jcu(dot)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?
In response to
pgsql-hackers by date
|Next:||From: Jan Wieck||Date: 2000-07-20 16:41:16|
|Subject: Re: About TOAST and indices|
|Previous:||From: Peter Eisentraut||Date: 2000-07-20 16:10:24|
|Subject: How PostgreSQL's floating-point hurts everyone everywhere|
pgsql-patches by date
|Next:||From: Peter Eisentraut||Date: 2000-07-21 00:46:10|
|Subject: Re: [PATCHES] locale changes |
|Previous:||From: Tom Lane||Date: 2000-07-20 15:48:52|
|Subject: Re: locale changes |