Skip site navigation (1) Skip section navigation (2)

Re: OK, that's one LOCALE bug report too many...

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: OK, that's one LOCALE bug report too many...
Date: 2000-11-25 01:55:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Tom Lane wrote:
> Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> writes:
> > Collation was the same, regardless of the --enable-locale
> > setting.  I got lots of 'bug' reports about the RPM's failing
> Hmm.  I reviewed that thread and found this comment from you:
> : In a nutshell, yes.  /etc/sysconfig/i18n on the fresh install sets LANG,
> : LC_ALL, and LINGUAS all to be "en_US".  The upgraded machine at home doesn't
> : have an /etc/sysconfig/i18n -- nor does the RH 6.0 box.
> That makes it sounds like /etc/sysconfig/i18n is not what I'd assumed
> (namely, a data file read at runtime by libc) but only a bit of shell
> script that sets exported environment variables during bootup.  I don't
> have that file here, so could you enlighten me as to exactly what it
> is/does?

Oh, yes, sorry -- /etc/sysconfig/i18n is read during sysinit,
immediately before starting swap (IOW, it's only read the once).  On my
RH 6.2 box, it is the following line:

----- /etc/sysconfig/i18n -------
------------- EOF ---------------

It's the same on a fresh RedHat 7.0 install.
> If it is just setting some default environment variables for the system,
> then it isn't anything we can't deal with by forcing setlocale() at
> postmaster start.  That'd make me feel a lot better ;-)

Then you need to feel alot better :-).....
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

In response to

pgsql-hackers by date

Next:From: Arnold.ZhuDate: 2000-11-25 02:14:44
Subject: Re: How to make @id or $id as parameter name in plpgsql,is it available?
Previous:From: Peter EisentrautDate: 2000-11-25 01:36:46
Subject: Re: OK, that's one LOCALE bug report too many...

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group