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

Поиск
Список
Период
Сортировка
От 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  ("MauMau" <maumau307@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: alter_table regression test problem
Следующее
От: Andres Freund
Дата:
Сообщение: Re: alter_table regression test problem