• Jeff Davis's avatar
    Use posix_fallocate() for new WAL files, where available. · 269e7808
    Jeff Davis authored
    This function is more efficient than actually writing out zeroes to
    the new file, per microbenchmarks by Jon Nelson. Also, it may reduce
    the likelihood of WAL file fragmentation.
    
    Jon Nelson, with review by Andres Freund, Greg Smith and me.
    269e7808
configure.in 64 KB