Re: Locale by default?

Поиск
Список
Период
Сортировка
От Justin Clift
Тема Re: Locale by default?
Дата
Msg-id 3B80003B.5FD72AC6@postgresql.org
обсуждение исходный текст
Ответ на Locale by default?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
If it's of any assistance, I'm working with the Open Source Database
Benchmark guys (osdb.sourceforge.net) to get an AS3AP-based benchmark
for PostgreSQL 7.1.x+ up-and-running reliably.

It's working on my Mandrake Linux 8.0 system here, but I need the main
OSDB guy to get back from holidays to review and commit things to their
CVS.  ETA of around a week from right now.  :)

My point is, if we've got decent benchmarking software (and we can
actually freely use it), we can do real-world validation tests when
considering things like Peter's suggestion.

Sounds good to me.

Regards and best wishes,

Justin Clift


Tom Lane wrote:
> 
> Peter Eisentraut <peter_e@gmx.net> writes:
> > (I sincerely hope that all systems' libcs have optimized paths for the C
> > locale.)  So we could get rid of this --enable-locale switch
> > altogether.
> 
> Some experimental evidence to support the claim that --enable-locale has
> zero cost would be good before taking this step.
> 
> If any hotspots turn up, we could possibly do runtime checks:
> 
>         if (locale_is_c())
>                 strcmp()
>         else
>                 strcoll()
> 
>                         regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html

-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."    - Indira Gandhi


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Locale by default?
Следующее
От: "Vadim Mikheev"
Дата:
Сообщение: RE: User locks code