Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YcxFI-0006jF-1o for pgsql-bugs@arkaria.postgresql.org; Tue, 31 Mar 2015 14:34:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YcxFG-00006F-IR for pgsql-bugs@arkaria.postgresql.org; Tue, 31 Mar 2015 14:34:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yaz1b-0006KM-MT for pgsql-bugs@postgresql.org; Thu, 26 Mar 2015 04:04:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yaz1X-0007kl-Sb for pgsql-bugs@postgresql.org; Thu, 26 Mar 2015 04:04:06 +0000 MIME-Version: 1.0 Subject: BUG #12903: cannot start, locale problem To: pgsql-bugs@postgresql.org From: hu_didi@hotmail.com Date: Thu, 26 Mar 2015 04:03:21 +0000 Message-ID: <20150326040321.2492.24716@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 12903 Logged by: Didi Hu Email address: hu_didi@hotmail.com PostgreSQL version: 9.4.1 Operating system: windows 7 Description: I have postgresql 9.3.6 running windows 7 and everything looks fine. Now I tried to run 9.4.1, I am running into locale problem. I use initdb to create with --locale="English_United States.1252". Then when I try to start the server, it gives me FATAL: XX000: could not adopt C locale LOCATION: init_locale, src\backend\main\main.c:315 But if I tried initdb without locale, --no-locale, I could not create data directory at all. By the way, the new 9.4.1 does not search the directory when pg_ctl is located for other binaries, one need to add bin to PATH. The old 9.3.6 will search it. So with 9.4.1, it will report could not locate matching executable if bin is not in the path. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs