BUG #13427: postgres.exe fails to start on Korean Windows Server 2008: cannot perform encoding conversion outsid - Mailing list pgsql-bugs

From Dmitri.Bourlatchkov@software.dell.com
Subject BUG #13427: postgres.exe fails to start on Korean Windows Server 2008: cannot perform encoding conversion outsid
Date
Msg-id 20150610143235.2796.52303@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #13427: postgres.exe fails to start on Korean Windows Server 2008: cannot perform encoding conversion outsid
List pgsql-bugs
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.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #13420: Array function contains with null
Next
From: dineshrapidflow@gmail.com
Date:
Subject: BUG #13425: Not able to import osm data into database