Re: initdb "Fails to initialize lc_time" (using 7.3.1)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Drew Wilson <amw(at)speakeasy(dot)net>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: initdb "Fails to initialize lc_time" (using 7.3.1)
Date: 2002-08-09 22:55:37
Message-ID: Pine.LNX.4.44.0208100011570.3577-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tom Lane writes:

> * guc.c's initialization of the LC_foo variables fails; this is harmless
> but produces annoying warnings on stderr. (I've fixed the misformatting
> of those messages, at least.) We could perhaps have the init-time
> values be "C" not "", but that would mean lack of localization of some
> startup error messages; I'd rather live with the warnings on
> misconfigured systems than lose functionality on correctly configured
> ones.

I've changed the assignments in main.c for MONETARY, NUMERIC, and TIME to
"C". This should fix this issue without losing functionality, since we
don't refer to these locales during startup. (The actual reason for this
change is that of course we want to have these categories set to C later
during backend operation -- see number format thread on -hackers. So this
should conveniently take care of both.)

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message nikolaus 2002-08-10 03:17:37 Re: Postgres performance slowly gets worse over a month
Previous Message Peter Eisentraut 2002-08-09 22:54:25 Re: initdb "Fails to initialize lc_time" (using 7.3.1)