>> A small patch to have nice error messages on beos (I have some valid
>> negatives errors)
This looks like another reason to strip out the rangecheck on errno
completely. Since I was the one who put it in in the first place,
I will take responsibility for taking it out. Consider it history.
regards, tom lane