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 F4946C5ACBC045CFB5EAF35954C83F91@maumau
Whole thread Raw
In response to Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII
List pgsql-hackers
Hi, Tom san,

From: "Tom Lane" <tgl@sss.pgh.pa.us>
> I've committed this with some editorialization (mostly, I used a case
> statement not a constant array, because that's more like the other places
> that switch on errnos in this file).
>
>> As I said, lack of %m string has been making troubleshooting difficult, 
>> so I
>> wish this to be backported at least 9.2.
>
> I'm waiting to see whether the buildfarm likes this before considering
> back-patching.

I'm very sorry to respond so late.  Thank you so much for committingthe 
patch.  I liked your code and comments.

I'll be glad if you could back-port this.  Personally, in practice, 9.1 and 
later will be sufficient.

Regards
MauMau




pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: In-core regression tests for replication, cascading, archiving, PITR, etc.
Next
From: Andres Freund
Date:
Subject: Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII