John Gorman writes:
> While debugging an extension I discovered that the errmsg()
> function zeros out errno.
So might a lot of other functions used in an ereport's arguments.
> This is annoying because if the process of assembling a meaningful
> error message happens to call errmsg() before cal
Hi All
While debugging an extension I discovered that the errmsg()
function zeros out errno.
This is annoying because if the process of assembling a meaningful
error message happens to call errmsg() before calling strerror()
we lose the strerror information. This is exactly the time when we
want