mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Rename CHECKPOINT_FLUSH_ALL to CHECKPOINT_FLUSH_UNLOGGED.
The new name more accurately relects 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 "flush-unlogged" instead of "flush-all", too. This is preparatory work for a follow-up commit that will add a FLUSH_UNLOGGED 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:
@ -141,8 +141,7 @@ extern PGDLLIMPORT bool XLOG_DEBUG;
|
||||
* issued at end of WAL recovery */
|
||||
#define CHECKPOINT_IMMEDIATE 0x0004 /* Do it without delays */
|
||||
#define CHECKPOINT_FORCE 0x0008 /* Force even if no activity */
|
||||
#define CHECKPOINT_FLUSH_ALL 0x0010 /* Flush all pages, including those
|
||||
* belonging to unlogged tables */
|
||||
#define CHECKPOINT_FLUSH_UNLOGGED 0x0010 /* Flush unlogged tables */
|
||||
/* These are important to RequestCheckpoint */
|
||||
#define CHECKPOINT_WAIT 0x0020 /* Wait for completion */
|
||||
#define CHECKPOINT_REQUESTED 0x0040 /* Checkpoint request has been made */
|
||||
|
Reference in New Issue
Block a user