summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-11-03 00:23:43 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-11-03 00:23:43 +0000
commit09048b95e76b76b43c2729bff55b850402b5c1e2 (patch)
treefa272ef671d4a29ae40448394a885b4448cd3631 /contrib
parent0622b1d738750e8ad70f42da71ecb02ba05b67c4 (diff)
downloadpostgresql-09048b95e76b76b43c2729bff55b850402b5c1e2.tar.gz
Fix longstanding race condition in transaction log management: there was a
very narrow window in which SimpleLruReadPage or SimpleLruWritePage could think that I/O was needed when it wasn't (and indeed the buffer had already been assigned to another page). This would result in an Assert failure if Asserts were enabled, and probably in silent data corruption if not. Reported independently by Jim Nasby and Robert Creager. I intend a more extensive fix when 8.2 development starts, but this is a reasonably low-impact patch for the existing branches.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions