diff options
author | Andres Freund <andres@anarazel.de> | 2014-10-21 00:20:08 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2014-10-21 00:20:08 +0200 |
commit | 11abd6c90f1094eaeee32e1c57d250c9db5102cb (patch) | |
tree | fb45dfa7bdf83dc6e5189de30e5943c94e5110e3 /src/backend/access/transam/xlog.c | |
parent | 7dbb60693820c20b562c12f58040c9871d6ab787 (diff) | |
download | postgresql-11abd6c90f1094eaeee32e1c57d250c9db5102cb.tar.gz postgresql-11abd6c90f1094eaeee32e1c57d250c9db5102cb.zip |
Renumber CHECKPOINT_* flags.
Commit 7dbb6069382 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().
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r-- | src/backend/access/transam/xlog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index a9df3a5806d..a5b26d880b2 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -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 |