Ensure that before truncating CLOG, we force a checkpoint even if no
Tom Lane <tgl@sss.pgh.pa.us>
Ensure that before truncating CLOG, we force a checkpoint even if no recent WAL activity has occurred. Without this, it's possible that a later crash might leave tuples on disk with un-updated commit status bits.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/clog.c | modified | +3 −3 |
| src/backend/access/transam/xlog.c | modified | +14 −11 |
| src/backend/bootstrap/bootstrap.c | modified | +3 −3 |
| src/backend/tcop/utility.c | modified | +4 −6 |
| src/include/access/xlog.h | modified | +2 −2 |