Thread: BUG #1288: Can't create database in a French environment

BUG #1288: Can't create database in a French environment

From
"PostgreSQL Bugs List"
Date:
The following bug has been logged online:

Bug reference:      1288
Logged by:          Jean-Philippe COURSON

Email address:      jumal@apache.org

PostgreSQL version: 8.0 Beta

Operating system:   Slackware Linux 10.0

Description:        Can't create database in a French environment

Details:

8.0 Beta3.

If the following environment variables are set :
LC_ALL=fr_FR
LANG=fr
initdb is unable to create the database template1.

Its output is :
...
creating template1 database in /home/pgsql/base/1 ... FATAL: XX000: failed
to initialize lc_messages to ""
LOCATION: InitializeGUOptions, guc.c:2360
...

Re: BUG #1288: Can't create database in a French environment

From
Tom Lane
Date:
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> If the following environment variables are set :
> LC_ALL=fr_FR
> LANG=fr
> initdb is unable to create the database template1.

> Its output is :
> ...
> creating template1 database in /home/pgsql/base/1 ... FATAL: XX000: failed
> to initialize lc_messages to ""
> LOCATION: InitializeGUOptions, guc.c:2360

Take it up with Slackware: evidently they have broken support for that
locale.

            regards, tom lane