Re: [GENERAL] Installin Postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
Cc: 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>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: [GENERAL] Installin Postgres
Date: 2003-05-07 03:34:19
Message-ID: 24323.1052278459@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"scott.marlowe" <scott(dot)marlowe(at)ihs(dot)com> writes:
> On Tue, 6 May 2003, Tom Lane wrote:
>> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>>> Tom, are we moving to a C locale by default for 7.4?
>>
>> I suggested it, but I'm not sure if there was consensus or not.

> Please do.

Peter lodged what I think was an objection:
http://archives.postgresql.org/pgsql-hackers/2003-04/msg00727.php

but he didn't address anything but the speed issue. 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.

On balance I think we should default to C locale rather than whatever
random junk is in initdb's environment. Perhaps "initdb --use-locale"
should be required to get the current behavior?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-05-07 04:43:37 Re: Small bug in postgres' ./configure script and invalid
Previous Message Glenn John Ogapong y Genoves 2003-05-07 03:31:51 Re: trigger question

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-05-07 03:53:41 Re: information_schema OID
Previous Message Bruno Wolff III 2003-05-07 03:26:41 Re: about updating view