diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-09-22 17:32:58 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-09-22 17:32:58 +0000 |
commit | a453951dd9902d675b9b61e60afe9e02a00a22c8 (patch) | |
tree | befc70d4e5014875ce0412af405b184fe3d8bc21 /src/backend/access/gist/gistxlog.c | |
parent | 4f915cd3770738feb31a36ee57706052480d627a (diff) | |
download | postgresql-a453951dd9902d675b9b61e60afe9e02a00a22c8.tar.gz |
Take exclusive buffer lock in scan_heap() to eliminate some corner cases
in which invalid page data could be transiently written to disk by
concurrent bgwriter activity. There doesn't seem any risk of loss of
actual user data, but an empty page could possibly be left corrupt if a
crash occurs before the correct data gets written out. Pointed out by
Alvaro Herrera.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions