BUG #1133: initdb fails when using Turkish locale - Mailing list pgsql-bugs

From PostgreSQL Bugs List
Subject BUG #1133: initdb fails when using Turkish locale
Date
Msg-id 20040416080839.2262ACF510D@www.postgresql.com
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1133
Logged by:          Devrim GUNDUZ

Email address:      devrim@gunduz.org

PostgreSQL version: 7.4

Operating system:   Red Hat 9, RHES 3.0  & Fedora Core 1

Description:        initdb fails when using Turkish locale

Details:


Hi,

Last week was an "upgrade weekend", and we tried to install PostgreSQL 7.4.2
with Turkish locale.

OSes are, Red Hat Linux 9, RHES 3.0 and Fedora Core 1, having all the
updates done.

System locale is:
# cat /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SUPPORTED="en_US.UTF-8:en_US:en:tr_TR.UTF-8:tr_TR:tr"

PostgreSQL was configured with:
./configure --prefix=/usr/local/pgsql742 --enable-nls --without-tk
--without-tcl

and the initdb error:

[pgsql74@localhost pgsql74]$ /usr/local/pgsql742/bin/initdb -D
/usr/local/pgsql742/data/ --locale=tr_TR
The files belonging to this database system will be owned by user
"pgsql74".
This user must also own the server process.


The database cluster will be initialized with locale tr_TR.


fixing permissions on existing directory /usr/local/pgsql742/data/... ok
creating directory /usr/local/pgsql742/data//base... ok
creating directory /usr/local/pgsql742/data//global... ok
creating directory /usr/local/pgsql742/data//pg_xlog... ok
creating directory /usr/local/pgsql742/data//pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /usr/local/pgsql742/data//base/1... FATAL:
XX000: failed to initialize DateStyle to "ISO, MDY"
LOCATION:  InitializeGUCOptions, guc.c:1866


initdb: failed

What should we do?

Regards,
Devrim

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [7.4.2] Still "variable not found in subplan target lists"
Next
From: Andreas Pflug
Date:
Subject: Re: [7.4.2] Still "variable not found in subplan target lists"