aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/variable.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-01-06 08:32:32 -0500
committerRobert Haas <rhaas@postgresql.org>2012-01-06 08:35:48 -0500
commit7e4911b2ae33acff7b85234b91372133ec6df9d4 (patch)
treed6f62786b6574eb0de4ee4aa116c467ae906e084 /src/backend/commands/variable.c
parentbd0e74a9ce98c65c94565fb603dcc7b710cd4227 (diff)
downloadpostgresql-7e4911b2ae33acff7b85234b91372133ec6df9d4.tar.gz
postgresql-7e4911b2ae33acff7b85234b91372133ec6df9d4.zip
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.
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions