Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2h41-0005x6-L0 for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Jun 2015 14:33:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z2h41-00052Q-0G for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Jun 2015 14:33:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z2h40-00052J-3k for pgsql-bugs@postgresql.org; Wed, 10 Jun 2015 14:33:08 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z2h3w-0003vb-Gg for pgsql-bugs@postgresql.org; Wed, 10 Jun 2015 14:33:06 +0000 MIME-Version: 1.0 Subject: BUG #13427: postgres.exe fails to start on Korean Windows Server 2008: cannot perform encoding conversion outsid To: pgsql-bugs@postgresql.org From: Dmitri.Bourlatchkov@software.dell.com Date: Wed, 10 Jun 2015 14:32:35 +0000 Message-ID: <20150610143235.2796.52303@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: 13427 Logged by: Dmitri Bourlatchkov Email address: Dmitri.Bourlatchkov@software.dell.com PostgreSQL version: 9.4.3 Operating system: Windows Server 2008 (Korean) Description: 0. Log in as a local Administrator into a Korean version of the Windows Server 2008 1. Install PostgreSQL 9.4.3 using the Windows .exe installer from EnterpriseDB 2. Open cmd.exe shell 3. cd to potgresql/bin directory 4. Run postgresql.exe (no args) 5. Observe the following error message: ---- FATAL: XX000: cannot perform encoding conversion outside a transaction LOCATION: pg_do_encoding_conversion, src\backend\utils\mb\mbutils.c:360 ---- A similar message shows up when using pg_ctl.exe to start PostgreSQL. Trouble-shooting attempted: 1. Run set LC_CTYPE=C 2. Run postgresql.exe (no args) 3. The following expected error shows up: ---- Execution of PostgreSQL by a user with administrative permissions is not permitted. The server must be started under an unprivileged user ID to prevent possible system security compromises. See the documentation for more information on how to properly start the server. ---- Note: PostgreSQL _is_ able to run as a Windows Service without any environment modifications. Note: If the LC_CTYPE=C env. variable is set, PosgreSQL can also be started successfully via pg_ctl (under the Administrator user). Thanks, Dmitri. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs