Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII |
| Дата | |
| Msg-id | 23219.1383771127@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII ("MauMau" <maumau307@gmail.com>) |
| Ответы |
Re: [bug fix] strerror() returns ??? in a UTF-8/C database with LC_MESSAGES=non-ASCII
|
| Список | pgsql-hackers |
"MauMau" <maumau307@gmail.com> writes:
> 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.
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.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера