Re: default locale considered harmful?

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: andrew(at)libertyrms(dot)info, pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: default locale considered harmful?
Date: 2003-04-18 22:42:23
Message-ID: 20030419.074223.74750845.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> Andrew Sullivan <andrew(at)libertyrms(dot)info> writes:
> >> [ can't LIKE use an index? ]
>
> > Yes. But locale is enabled by default now, and if you use anything
> > other than C (and other-than-C is increasingly the default on the
> > supported platforms), it won't work. Just make sure that your locale
> > is C when you do initdb.
>
> I recall someone floating a proposal that initdb should by default
> initialize the database in C locale, not whatever-it-finds-in-the-
> environment. To get a non-C locale you'd have to give an explicit
> command-line switch --- essentially, reversing the sense of the present
> "initdb --no-locale" option.
>
> I'm beginning to think that would be a good idea, given the increasing
> prevalence of en_US as a platform locale setting. Comments?

I agree with that initdb should by default initialize the database in
C locale. I have found on a local list too many users in Japan are
suffered by the locale problem and I'm getting tired of saying "you
should not forget to explicitly specify --no-locale siwtch".
--
Tatsuo Ishii

In response to

Browse pgsql-general by date

  From Date Subject
Next Message weiping He 2003-04-19 06:10:18 does parser still parse those comment out lines?
Previous Message Network Administrator 2003-04-18 22:11:44 Re: 7.3 PDF documentation

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-04-19 00:11:45 Re: For the ametures. (related to "Are we losing momentum?")
Previous Message Kevin Brown 2003-04-18 22:06:19 Re: For the ametures. (related to "Are we losing momentum?")