Re: [GENERAL] Installin Postgres - Mailing list pgsql-hackers

From Andrew Sullivan
Subject Re: [GENERAL] Installin Postgres
Date
Msg-id 20030507152039.GF29336@libertyrms.info
Whole thread Raw
In response to Re: [GENERAL] Installin Postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, May 06, 2003 at 11:34:19PM -0400, Tom Lane wrote:

> random junk is in initdb's environment.  Perhaps "initdb --use-locale"
> should be required to get the current behavior?

Yes.  From the point of view of an administrator, the current
behaviour is the worst possible one, because you can find yourself
with a real database before you realise what's happened.  Then you
need to do initdb to recover.  

What's worse, it's not obvious from looking at the encoding of the
database what the problem might be.  If you know about this, of
course, then you know what to do.  But someone inexperienced with
Postgres (who, for instance, is a new developer working on, say, a
registry database ;-) might easily spend quite a bit of time fooling
around with optimisations trying to fix a problem which wouldn't be
there if only the locale had been set correctly.

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8                                        +1 416 646 3304
x110



pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: CIDR in pg_hba.conf
Next
From: Tom Lane
Date:
Subject: Last round (I think) of FE/BE protocol changes