Ensure that before truncating CLOG, we force a checkpoint even if no
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Sep 2002 22:58:34 +0000 (22:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Sep 2002 22:58:34 +0000 (22:58 +0000)
commitb2ab1e6bc9a61a2e5add59da298ec755ba75ab5c
treebb3be2527c94154e02a290655b9584d00a940879
parentc87469e64a9b893b72254a1850c366fb04777430
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.
src/backend/access/transam/clog.c
src/backend/access/transam/xlog.c
src/backend/bootstrap/bootstrap.c
src/backend/tcop/utility.c
src/include/access/xlog.h