Allow WAL record data on first modification after a checkpoint.
authorThomas Munro <thomas.munro@enterprisedb.com>
Fri, 11 Jan 2019 13:17:02 +0000 (02:17 +1300)
committerThomas Munro <thomas.munro@gmail.com>
Wed, 17 Jul 2019 03:28:27 +0000 (15:28 +1200)
commit3d3565b64e2c2fd3a47c6fbdfa42d542923d44d4
tree479144441576d6d6198ef5808b90785c5ae0df15
parent3da534dc6c28b2b3127d7400ab524f12b9faa0ae
Allow WAL record data on first modification after a checkpoint.

Provide a way to attach data to WAL record conditionally, so that it is
included only if this turns out to the be first modification to a given
block after a checkpoint.

This will be used to record undo log meta-data, to avoid a data
synchronization problem with online checkpoints.

Author: Thomas Munro
Reviewed-by:
Discussion:
src/backend/access/transam/xloginsert.c
src/include/access/xloginsert.h