• Tom Lane's avatar
    Fix aboriginal bug in BufFileDumpBuffer that would cause it to write the · 964ec46c
    Tom Lane authored
    wrong data when dumping a bufferload that crosses a component-file boundary.
    This probably has not been seen in the wild because (a) component files are
    normally 1GB apiece and (b) non-block-aligned buffer usage is relatively
    rare.  But it's fairly easy to reproduce a problem if one reduces RELSEG_SIZE
    in a test build.  Kudos to Kurt Harriman for spotting the bug.
    964ec46c
buffile.c 14.3 KB