BUG #6304: initdb fails with loale ko_KR.eucKR

From: "Robert Balser" <robert(dot)balser(at)hp(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6304: initdb fails with loale ko_KR.eucKR
Date: 2011-11-22 21:18:12
Message-ID: 201111222118.pAMLICJR064379@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6304
Logged by: Robert Balser
Email address: robert(dot)balser(at)hp(dot)com
PostgreSQL version: 9.0.5
Operating system: HPUX 11.31 ia64
Description: initdb fails with loale ko_KR.eucKR
Details:

If you set your LANG=ko_KR.eucKR to set your locale to Korean, the initdb
command fails. It works with other locales, e.g. various Japanese, Chinese,
and even other Korean locales (e.g. ko_KR.utf8). But ko_KR.eucKR always
fails. The command being invoked is:

initdb -E UTF8 --no-locale -D <DB_DIR> -U <USER> --pwfile=<PASSWORDFILE>

The output of initdb is an "sh:" error (in Korean), followed by a "fgets
failure:" (also Korean), and then the following in English:

The program "postgres" is needed by initdb but was not found in the same
directory as "<PGDIR>/bin/initdb". Check your installation.

The postgres binary is of course in that folder, hence working with other
locales.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2011-11-23 02:49:48 Re: BUG #6300: duplicate key value violates unique constraint
Previous Message Diego Elio Pettenò 2011-11-21 18:03:31 Re: BUG #6302: Certificate lookup fails for users with /dev/null as home directory