"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