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

Started by PostgreSQL Bugs Listover 21 years ago2 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

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
...

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PostgreSQL Bugs List (#1)
Re: BUG #1288: Can't create database in a French environment

"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