X-Original-To: pgsql-admin@postgresql.org Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 4F1B1474E53 for ; Mon, 17 Mar 2003 14:36:05 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2HJa2ub007756; Mon, 17 Mar 2003 14:36:02 -0500 (EST) To: jan.berka@dreger.de (Jan B.) Cc: pgsql-admin@postgresql.org Subject: Re: Failed to initialize lc_messages to '' In-reply-to: <3805b80.0303150440.471a08c4@posting.google.com> References: <3805b80.0303150440.471a08c4@posting.google.com> Comments: In-reply-to jan.berka@dreger.de (Jan B.) message dated "15 Mar 2003 04:40:54 -0800" Date: Mon, 17 Mar 2003 14:36:02 -0500 Message-ID: <7755.1047929762@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200303/275 X-Sequence-Number: 7915 jan.berka@dreger.de (Jan B.) writes: > when I try to execute initdb I get the following errors: > The database cluster will be initialized with locales: > COLLATE: POSIX CTYPE: en_US MESSAGES: en_US > MONETARY: en_US NUMERIC: en_US TIME: en_US > creating template1 database in /opt/pgsql/data/base/1... Failed to > initialize lc_messages to '' What platform is this? You should complain to the relevant people about their broken locale definitions. If they're going to set en_US as the default locale then it darn well ought to work in all locale categories. In the meantime, try export LC_ALL=C (or equivalent syntax if you use a C shell) before you run initdb. You'll be better off running Postgres in C locale anyway. regards, tom lane