mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Rename CHECKPOINT_IMMEDIATE to CHECKPOINT_FAST.
The new name more accurately reflects the effects of this flag on a requested checkpoint. Checkpoint-related log messages (i.e., those controlled by the log_checkpoints configuration parameter) will now say "fast" instead of "immediate", too. Likewise, references to "immediate" checkpoints in the documentation have been updated to say "fast". This is preparatory work for a follow-up commit that will add a MODE option to the CHECKPOINT command. Author: Christoph Berg <myon@debian.org> Discussion: https://postgr.es/m/aDnaKTEf-0dLiEfz%40msg.df7cb.de
This commit is contained in:
@@ -3339,8 +3339,8 @@ UnpinBufferNoOwner(BufferDesc *buf)
|
||||
* BufferSync -- Write out all dirty buffers in the pool.
|
||||
*
|
||||
* This is called at checkpoint time to write out all dirty shared buffers.
|
||||
* The checkpoint request flags should be passed in. If CHECKPOINT_IMMEDIATE
|
||||
* is set, we disable delays between writes; if CHECKPOINT_IS_SHUTDOWN,
|
||||
* The checkpoint request flags should be passed in. If CHECKPOINT_FAST is
|
||||
* set, we disable delays between writes; if CHECKPOINT_IS_SHUTDOWN,
|
||||
* CHECKPOINT_END_OF_RECOVERY or CHECKPOINT_FLUSH_UNLOGGED is set, we write
|
||||
* even unlogged buffers, which are otherwise skipped. The remaining flags
|
||||
* currently have no effect here.
|
||||
|
||||
Reference in New Issue
Block a user