Thread: Invalid encoding of process output

Invalid encoding of process output

From
Alexander Lakhin
Date:
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


Attachment

Re: Invalid encoding of process output

From
Dave Page
Date:
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