summaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane2005-11-03 00:23:57 +0000
committerTom Lane2005-11-03 00:23:57 +0000
commit31f1bef3eb721785bfdb74f353bf73457ed1d081 (patch)
tree4796e4c66cc47e1445f696d261cfcb8f9f154b23 /src/backend/tcop/postgres.c
parentcdc1d5991dd89c264108705492053a3bbe4bdd2e (diff)
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 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions