Peter Eisentraut <peter_e@gmx.net> writes:
> libpq doesn't use it either, but it uses tons of strerror().
And also there are quite a few places in the backend that use strerror()
directly. This lack of consistency seems like another reason to forget
about testing errno against sys_nerr in elog() ...
regards, tom lane