Skip site navigation (1) Skip section navigation (2)

Re: default locale considered harmful? (was Re: [GENERAL]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>,Andrew Sullivan <andrew(at)libertyrms(dot)info>,PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: default locale considered harmful? (was Re: [GENERAL]
Date: 2003-05-31 04:32:15
Message-ID: 17973.1054355535@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackers
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Has the single-byte LIKE penalty been eliminated, so we don't need to
> consider using C as the default locale for initdb, right?

I'm still of the opinion that we should make C the default locale.
But I'm not sure where the consensus is, so I've not made the change.

> If fixed, how was it done?

Peter has provided a hack whereby one can create a LIKE-supporting index
in a non-C locale.  But a *default* index in a non-C locale is still not
going to support LIKE ... and the hacked index will not support ordinary
comparison or ordering operators.  So I think there's still a lot left
to be desired here.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Mike MascariDate: 2003-05-31 04:40:09
Subject: A few notes
Previous:From: Bruce MomjianDate: 2003-05-31 04:09:04
Subject: Re: default locale considered harmful? (was Re: [GENERAL]

pgsql-general by date

Next:From: Justin CliftDate: 2003-05-31 07:39:34
Subject: Re: [GENERAL] Are we losing momentum?
Previous:From: Bruce MomjianDate: 2003-05-31 04:09:04
Subject: Re: default locale considered harmful? (was Re: [GENERAL]

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group