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

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

Commit: 3fdf649f4fc8a21ba4cec1db7f3fe7bb1105b00c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-08-11T04:07:16Z
Releases: 8.0.0
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 +25 −4
src/backend/access/transam/xlog.c modified +18 −3
src/include/storage/lwlock.h modified +2 −1