Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> writes:
> I think the problem here is that posix_fallocate() doesn't set errno.
Huh. So the fact that it worked for me is likely because glibc's
emulation *does* allow errno to get set.
> Will write a patch.
Thanks, I'm out of time for today.
regards, tom lane