mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Renumber CHECKPOINT_* flags.
Commit 7dbb606938
added a new CHECKPOINT_FLUSH_ALL flag. As that
commit needed to be backpatched I didn't change the numeric values of
the existing flags as that could lead to nastly problems if any
external code issued checkpoints. That's not a concern on master, so
renumber them there.
Also add a comment about CHECKPOINT_FLUSH_ALL above
CreateCheckPoint().
This commit is contained in:
@ -7892,6 +7892,7 @@ LogCheckpointEnd(bool restartpoint)
|
||||
* CHECKPOINT_FORCE: force a checkpoint even if no XLOG activity has occurred
|
||||
* since the last one (implied by CHECKPOINT_IS_SHUTDOWN or
|
||||
* CHECKPOINT_END_OF_RECOVERY).
|
||||
* CHECKPOINT_FLUSH_ALL: also flush buffers of unlogged tables.
|
||||
*
|
||||
* Note: flags contains other bits, of interest here only for logging purposes.
|
||||
* In particular note that this routine is synchronous and does not pay
|
||||
|
Reference in New Issue
Block a user