Now, IO errors are something else. They should have the PG_error bit set,
and we should just return EIO or something.
That said, I'd not be surprised at all if error handling is broken. It's
often been broken even in the _normal_ paths (ie totally normal "read()"
etc).
Linus
--