PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15772
PG Version11.2
OSWindows 10
Opened2019-04-18 13:53:18+00
Reported byEugene Podshivalov
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15772
Logged by:          Eugene Podshivalov
Email address:      (redacted)
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".
--
СООБЩЕНИЕ:  получен запрос на быстрое выключение
СООБЩЕНИЕ:  прерывание всех активных транзакций
--
СООБЩЕНИЕ:  система БД была выключена:
СООБЩЕНИЕ:  система БД готова принимать подключения

Messages

DateAuthorSubject
2019-04-18 13:53:18+00PG Bug reporting formBUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
2019-04-18 14:31:11+00Bruce MomjianRe: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
2019-04-18 14:40:59+00Eugene PodshivalovRe: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
2019-04-18 15:29:38+00Bruce MomjianRe: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
2019-04-18 16:01:16+00Alvaro HerreraRe: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
2019-04-18 16:20:56+00Tom LaneRe: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
2019-04-18 16:26:50+00Eugene PodshivalovRe: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8
2019-04-18 16:49:18+00Eugene PodshivalovRe: BUG #15772: Some messages in log files are in ANSI encoding while server encoding is UTF8