postgresql/src/backend
Tom Lane 99d48695d4 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.
2005-11-03 00:23:36 +00:00
..
access Fix longstanding race condition in transaction log management: there was a 2005-11-03 00:23:36 +00:00
bootstrap Postpone pg_timezone_initialize() until after creation of postmaster.pid, 2005-10-20 20:05:45 +00:00
catalog Message corrections 2005-10-29 00:31:52 +00:00
commands Message corrections 2005-10-29 00:31:52 +00:00
executor Better solution to the problem of labeling whole-row Datums that are 2005-10-19 22:30:30 +00:00
lib Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
libpq Clean up md5.c to make it clearer that it is a frontend-and-backend 2005-10-20 13:54:08 +00:00
main Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
nodes Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
optimizer Fix longstanding bug that would sometimes let the planner generate a bad plan 2005-10-25 20:30:30 +00:00
parser Adjust parser so that POSTQUEL-style implicit RTEs are stored with 2005-10-26 19:21:55 +00:00
po Translation updates 2005-10-29 00:41:37 +00:00
port Fix Windows setitimer() emulation to not depend on delivering an APC 2005-10-25 15:15:16 +00:00
postmaster minor code cleanup - replace useless struct timezone argument to 2005-10-22 14:27:29 +00:00
regex Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
rewrite A few trivial code cleanups motivated by reading warnings generated 2005-10-18 01:06:24 +00:00
storage Message corrections 2005-10-29 00:31:52 +00:00
tcop Postpone pg_timezone_initialize() until after creation of postmaster.pid, 2005-10-20 20:05:45 +00:00
utils Update a couple of obsolete comments. 2005-10-29 18:39:17 +00:00
Makefile Add an ifneq to avoid make warning on AIX --- there is a separate rule 2005-10-27 20:45:29 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00