pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Balser <robert.balser@hp.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6304: initdb fails with loale ko_KR.eucKR
Date: Tue, 22 Nov 2011 21:18:12 GMT
Message-ID: <201111222118.pAMLICJR064379@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      6304
Logged by:          Robert Balser
Email address:      robert.balser@hp.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.



view thread (4+ messages)  latest in thread

Message-ID: <201111222118.pAMLICJR064379@wwwmaster.postgresql.org>
Permalink:  ../201111222118.pAMLICJR064379@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201111222118.pAMLICJR064379@wwwmaster.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: robert.balser@hp.com
  Subject: Re: BUG #6304: initdb fails with loale ko_KR.eucKR
  In-Reply-To: <201111222118.pAMLICJR064379@wwwmaster.postgresql.org>
  References: <201111222118.pAMLICJR064379@wwwmaster.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox