Be more robust when strerror() doesn't give a useful result.
authorTom Lane <[email protected]>
Thu, 7 Nov 2013 21:33:34 +0000 (16:33 -0500)
committerTom Lane <[email protected]>
Thu, 7 Nov 2013 21:33:34 +0000 (16:33 -0500)
commit8103f49c1f3374bd71b49c128f1d7c7145e5c0ac
tree71c787a9e95cdf6c7c0b23704bc18773aecc449e
parent352ab596fa5a8a4ceec6d308ebae34176cc09c13
Be more robust when strerror() doesn't give a useful result.

Back-patch commits 8e68816cc2567642c6fcca4eaac66c25e0ae5ced and
8dace66e0735ca39b779922d02c24ea2686e6521 into the stable branches.
Buildfarm testing revealed no great portability surprises, and it
seems useful to have this robustness improvement in all branches.
src/backend/utils/error/elog.c