pgsql: Don't choke during startup if the environment offers an invalid - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Don't choke during startup if the environment offers an invalid
Date
Msg-id 20060603173610.6668B9FA326@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Don't choke during startup if the environment offers an invalid value
for LC_MESSAGES; instead, just press forward, leaving the effective setting
at 'C'.  There is not any very good reason to complain when we are going
to replace the value soon with whatever postgresql.conf says.  This change
should solve the occasionally-reported problem of initdb failing with
'failed to initialize lc_messages'; the current theory is that that is
a reflection of either wrong LANG/LC_MESSAGES or completely broken locale
support.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        pg_locale.c (r1.35 -> r1.36)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/pg_locale.c.diff?r1=1.35&r2=1.36)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix copy-and-pasteo in Russian translation: message complaining
Next
From: pgstudy@pgfoundry.org (User Pgstudy)
Date:
Subject: fulldisjunction - fd: Added README file and corrected memory problem