Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id D246E9F37F4 for ; Tue, 22 Nov 2011 17:18:26 -0400 (AST) Received: from wwwmaster.postgresql.org ([217.196.146.204]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RSxjV-00062R-6X for pgsql-bugs@postgresql.org; Tue, 22 Nov 2011 21:18:26 +0000 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id pAMLICS7064380 for ; Tue, 22 Nov 2011 21:18:12 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id pAMLICJR064379; Tue, 22 Nov 2011 21:18:12 GMT (envelope-from www) Date: Tue, 22 Nov 2011 21:18:12 GMT Message-Id: <201111222118.pAMLICJR064379@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6304: initdb fails with loale ko_KR.eucKR From: "Robert Balser" Content-Type: text/plain; charset=utf-8 X-Archive-Number: 201111/160 X-Sequence-Number: 31755 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 -U --pwfile= 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 "/bin/initdb". Check your installation. The postgres binary is of course in that folder, hence working with other locales.