Re: Locale by default? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Locale by default?
Date
Msg-id 25770.998243629@sss.pgh.pa.us
Whole thread Raw
In response to Locale by default?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: A fixed user id for the postgres user?
Next
From: Justin Clift
Date:
Subject: Re: Locale by default?