Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII - Mailing list pgsql-hackers

From MauMau
Subject Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII
Date
Msg-id D04360267B104A3CA31E99525614C19F@maumau
Whole thread Raw
In response to Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII  ("MauMau" <maumau307@gmail.com>)
Responses Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII
List pgsql-hackers
From: "MauMau" <maumau307@gmail.com>
> OK, I'll take this approach.  That is:


I did as Tom san suggested.  Please review the attached patch.  I chose as
common errnos by selecting those which are used in PosttgreSQL source code
out of the error numbers defined in POSIX 2013.

As I said, lack of %m string has been making troubleshooting difficult, so I
wish this to be backported at least 9.2.

Regards
MauMau

Attachment

pgsql-hackers by date:

Previous
From: Quan Zongliang
Date:
Subject: Re: improve Chinese locale performance
Next
From: Heikki Linnakangas
Date:
Subject: Re: Strange hanging bug in a simple milter