Обсуждение: Invalid encoding of process output

Поиск
Список
Период
Сортировка

Invalid encoding of process output

От
Alexander Lakhin
Дата:
Hello,
While trying to perform backup with Russian-speaking PostgreSQL 10 (on Linux) I get the following unreadable messages:



This bug is caused by the ansi encoding chosen when reading the process log file.
Please look at the proposed fix. (It corresponds to all the other sys.getdefaultencoding() calls in the code.)

Best regards,
------
Alexander Lakhin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


Вложения

Re: Invalid encoding of process output

От
Dave Page
Дата:
Thanks, patch applied.

On Thu, Nov 9, 2017 at 2:10 AM, Alexander Lakhin <exclusion@gmail.com> wrote:
Hello,
While trying to perform backup with Russian-speaking PostgreSQL 10 (on Linux) I get the following unreadable messages:



This bug is caused by the ansi encoding chosen when reading the process log file.
Please look at the proposed fix. (It corresponds to all the other sys.getdefaultencoding() calls in the code.)

Best regards,
------
Alexander Lakhin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company





--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company