aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-10-22 20:20:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-10-22 20:20:49 +0000
commit3c5d000749131f32bd77bae30add25035c1fd070 (patch)
tree17d08e86314172c8984bd4a282f33a992120eae1 /src/backend/utils/adt/numutils.c
parent5aeec4bbbc8d3cbc79a3af5ca33542531744aaf2 (diff)
downloadpostgresql-3c5d000749131f32bd77bae30add25035c1fd070.tar.gz
postgresql-3c5d000749131f32bd77bae30add25035c1fd070.zip
Fix incorrect logic for clearing BufferDirtiedByMe in ReleaseRelationBuffers
and DropBuffers. Formerly we cleared the flag for each buffer currently belonging to the target rel or database, but that's completely wrong! Must look at BufferTagLastDirtied to see whether the BufferDirtiedByMe flag is relevant to target rel or not; this is *independent* of the current contents of the buffer. Vadim spotted this problem, but his fix was only partially correct...
Diffstat (limited to 'src/backend/utils/adt/numutils.c')
0 files changed, 0 insertions, 0 deletions