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

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: default locale considered harmful? (was Re: [GENERAL]
Date: 2003-06-05 15:44:21
Message-ID: Pine.LNX.4.33.0306050942380.16550-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 5 Jun 2003, Nigel J. Andrews wrote:

> On Wed, 4 Jun 2003, Tom Lane wrote:
>
> > Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > > That is one thing I liked about the initdb mention --- it clearly told
> > > them to watch out for something they might not have been looking for.
> >
> > Only if they read the message, though. People who are running RPM
> > installations probably never get to see what initdb has to say ...
> > so I can't put much faith in the usefulness of warnings emitted by
> > initdb.
> >
>
> Yes, I mentioned this when this thread was going a few weeks ago. I only caught
> the locale setting being wrong on a system before it went into production
> because I happened to install on another system and noticed the message. I then
> had to ask the hosting company's SA to first check and then re-initdb. I was
> even sat watching/directing what he was doing and missed it. He was using
> Redhat with RPMs I was doing it properly from source.
>
> Those RPMs are dangerous, they turn you mind off.
>
> I voted for setting 'C' by default.

Everything Nigel just wrote plus one thing.

If it comes down to it, we could always require a --locale setting and
refuse to initdb without it. That way, whether it's in an RPM or from
source, somebody somewhere along the line has to choose something.

Or would that break RPM / automated installs in too nasty a way?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-06-05 15:59:09 Re: Aggregates containing outer references don't work per spec
Previous Message Barry Lind 2003-06-05 15:39:09 Wrong version of jdbc in 7.3.3 rpms