• J
    Handle posix_fallocate() errors. · 5b571bb8
    Jeff Davis 提交于
    On some platforms, posix_fallocate() is available but may still return
    EINVAL if the underlying filesystem does not support it.  So, in case
    of an error, fall through to the alternate implementation that just
    writes zeros.
    
    Per buildfarm failure and analysis by Tom Lane.
    5b571bb8
xlog.c 307.4 KB