pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitri.Bourlatchkov@software.dell.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13427: postgres.exe fails to start on Korean Windows Server 2008: cannot perform encoding conversion outsid
Date: Wed, 10 Jun 2015 14:32:35 +0000
Message-ID: <20150610143235.2796.52303@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)  latest in thread

Message-ID: <20150610143235.2796.52303@wrigleys.postgresql.org>
Permalink:  ../20150610143235.2796.52303@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20150610143235.2796.52303@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: Dmitri.Bourlatchkov@software.dell.com
  Subject: Re: BUG #13427: postgres.exe fails to start on Korean Windows Server 2008: cannot perform encoding conversion outsid
  In-Reply-To: <20150610143235.2796.52303@wrigleys.postgresql.org>
  References: <20150610143235.2796.52303@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox