Re: [GENERAL] Installin Postgres

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] Installin Postgres
Date: 2003-05-07 15:20:39
Message-ID: 20030507152039.GF29336@libertyrms.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110

In response to

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-05-07 15:26:29 Re: Server error
Previous Message scott.marlowe 2003-05-07 15:13:18 Re: How to hook up Access to Postgres?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-05-07 15:34:12 Last round (I think) of FE/BE protocol changes
Previous Message Larry Rosenman 2003-05-07 14:25:32 Re: CIDR in pg_hba.conf