Rename CHECKPOINT_FLUSH_ALL to CHECKPOINT_FLUSH_UNLOGGED.
Nathan Bossart <nathan@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +3 −3 |
| src/backend/commands/dbcommands.c | modified | +2 −2 |
| src/backend/storage/buffer/bufmgr.c | modified | +3 −3 |
| src/include/access/xlog.h | modified | +1 −2 |
Discussion
- CHECKPOINT unlogged data 34 messages · 2025-05-30 → 2025-07-11