git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: bd0e74a) | patch
Fix variable confusion in BufferSync().
Fri, 6 Jan 2012 13:32:32 +0000 (08:32 -0500)
Fri, 6 Jan 2012 13:35:48 +0000 (08:35 -0500)
commit 7e4911b2ae33acff7b85234b91372133ec6df9d4
Fix variable confusion in BufferSync().

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.
src/backend/storage/buffer/bufmgr.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /