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

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

Commit: d508e0ddd23a35b9cb30ec1a769de40e98d5561f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-08-11T04:08:02Z
Releases: 7.4.4
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 +30 −6
src/backend/access/transam/xlog.c modified +15 −3
src/include/storage/lwlock.h modified +2 −1