pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: yaugenka@gmail.com
Subject: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
Date: Thu, 18 Apr 2019 13:53:18 +0000
Message-ID: <15772-b32554465e0ff1f3@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15772
Logged by:          Eugene Podshivalov
Email address:      yaugenka@gmail.com
PostgreSQL version: 11.2
Operating system:   Windows 10
Description:        

My postgresql.conf has the following locale settings
----
#client_encoding = sql_ascii		# actually, defaults to database encoding

# These settings are initialized by initdb, but they can be changed.
lc_messages = 'Russian_Russia.1251'			# locale for system error message
strings
lc_monetary = 'Russian_Russia.1251'			# locale for monetary formatting
lc_numeric = 'Russian_Russia.1251'			# locale for number formatting
lc_time = 'Russian_Russia.1251'				# locale for time formatting
----
Server encoding is "UTF8".
Messages in the log file are usually in UTF8, but some messages are logged
in ANSI encoding.
Here are some example cases (in the Russian language)  when ANSI is used
instead of UTF8
--
СООБЩЕНИЕ:  контрольные точки происходят слишком часто (через 19 сек.)
ПОДСКАЗКА:  Возможно, стоит увеличить параметр "max_wal_size".
--
СООБЩЕНИЕ:  получен запрос на быстрое выключение
СООБЩЕНИЕ:  прерывание всех активных транзакций
--
СООБЩЕНИЕ:  система БД была выключена:
СООБЩЕНИЕ:  система БД готова принимать подключения



view thread (8+ messages)  latest in thread

Message-ID: <15772-b32554465e0ff1f3@postgresql.org>
Permalink:  ../15772-b32554465e0ff1f3@postgresql.org/
Also on:    postgresql.org/message-id/15772-b32554465e0ff1f3@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: noreply@postgresql.org, yaugenka@gmail.com
  Subject: Re: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
  In-Reply-To: <15772-b32554465e0ff1f3@postgresql.org>
  References: <15772-b32554465e0ff1f3@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