Re: [GENERAL] Installin Postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, mariocaspari(at)salo-ag(dot)de, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] Installin Postgres
Date: 2003-05-07 18:49:38
Message-ID: 3340.1052333378@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Tom Lane writes:
>> What we are seeing is that on several platforms, the default locale
>> settings are just plain broken --- ie, setlocale() barfs on the locale
>> value that the system environment provides. There was discussion before
>> about this, but IIRC we concluded that initdb could not easily detect
>> the problem.

> It could be detected if we rewrote parts of initdb in C. I was sort of
> hoping that that would come out of the Windows port.

True, I would think it will *have to* come out of the Windows port.
(Bruce, what does the PeerDirect patch do about initdb?)

I still think that on balance it'd be best to default to C locale,
though. We are certainly not going to be able to fix all the underlying
problems in time for 7.4. Once non-C locales are not a significant hit
on performance or reliability, then it would be time to default to
environment locale.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott W. Hill 2003-05-07 18:51:16 Restoring 7.3.x Data on 7.2.x Database
Previous Message Jon Earle 2003-05-07 18:45:51 Re: PostgreSQL Qs

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2003-05-07 19:12:42 Re: CIDR in pg_hba.conf
Previous Message Peter Eisentraut 2003-05-07 18:42:43 Re: [GENERAL] Installin Postgres