Alvaro Herrera <alvhe...@2ndquadrant.com> writes: > On 2018-Sep-25, Tom Lane wrote: >> We could possibly write something like >> >> sprintf(wserrbuf, "winsock error %d (could not load netmsg.dll to translate: >> error code %lu)", err, GetLastError()))); >> >> but I'm unconvinced that that's useful.
> Actually I think it *is* useful to do it like this, because then the > user knows to fix the netmsg.dll problem so that they can continue to > investigate the winsock problem. If we don't report the secondary error > message, how are users going to figure out how to fix the problem? OK, I'm fine with doing it like that if people want it. regards, tom lane