• Robert Haas's avatar
    Fix variable confusion in BufferSync(). · 7e4911b2
    Robert Haas authored
    As noted by Heikki Linnakangas, the previous coding confused the "flags"
    variable with the "mask" variable.  The affect of this appears to be that
    unlogged buffers would get written out at every checkpoint rather than
    only at shutdown time.  Although that's arguably an acceptable failure
    mode, I'm back-patching this change, since it seems like a poor idea to
    rely on this happening to work.
    7e4911b2
bufmgr.c 82 KB