Rename CHECKPOINT_IMMEDIATE to CHECKPOINT_FAST.
Nathan Bossart <nathan@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/backup.sgml | modified | +1 −1 |
| doc/src/sgml/func.sgml | modified | +1 −1 |
| doc/src/sgml/ref/checkpoint.sgml | modified | +1 −1 |
| doc/src/sgml/ref/pg_basebackup.sgml | modified | +2 −1 |
| src/backend/access/transam/xlog.c | modified | +12 −13 |
| src/backend/commands/dbcommands.c | modified | +5 −5 |
| src/backend/commands/tablespace.c | modified | +1 −1 |
| src/backend/postmaster/checkpointer.c | modified | +12 −12 |
| src/backend/storage/buffer/bufmgr.c | modified | +2 −2 |
| src/backend/tcop/utility.c | modified | +1 −1 |
| src/include/access/xlog.h | modified | +1 −1 |
| src/test/recovery/t/041_checkpoint_at_promote.pl | modified | +1 −1 |
Discussion
- CHECKPOINT unlogged data 34 messages · 2025-05-30 → 2025-07-11