Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I assume all the callers have to check for NULL,
Eh? *None* of the callers of pqStrerror check for NULL, and I don't
think they should have to. We surely do not check for null return from
plain strerror() anyplace.
regards, tom lane