Fix failure to guarantee that a checkpoint will write out pg_clog updates

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d0b776b2be53b8081dfafa6f35d2268e604d921a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-08-11T04:09:14Z
Releases: 7.2.5
Fix failure to guarantee that a checkpoint will write out pg_clog updates
for transaction commits that occurred just before the checkpoint.  This is
an EXTREMELY serious bug --- kudos to Satoshi Okada for creating a
reproducible test case to prove its existence.

Files

PathChange+/−
src/backend/access/transam/xact.c modified +23 −3
src/backend/access/transam/xlog.c modified +15 −3
src/include/storage/lwlock.h modified +2 −1