CHECKPOINT(7)

πŸ“¦ version 17.11, in opensuse-leap 16.0

✨ CHECKPOINT(7) ✨

okay bestie, this is CHECKPOINT(7) from the PostgreSQL 17.11 Documentation β€” yes, the manual page, and yes, it’s giving β€œforce a write-ahead log checkpoint” energy πŸ’…


πŸŽ€ NAME πŸŽ€

CHECKPOINT β€” force a write-ahead log checkpoint ✨


🌸 SYNOPSIS 🌸

CHECKPOINT

πŸ’– DESCRIPTION πŸ’–

So, a checkpoint is a point in the write-ahead log sequence at which all data files have been updated to reflect the information in the log. All data files will be flushed to disk. Refer to Section 28.5 for more details about what happens during a checkpoint πŸ‘‘

The CHECKPOINT command forces an immediate checkpoint when the command is issued, without waiting for a regular checkpoint scheduled by the system β€” that scheduling is controlled by the settings in Section 19.5.2 🫢

heads up, bestie: CHECKPOINT is not intended for use during normal operation πŸ’€

If executed during recovery, the CHECKPOINT command will force a restartpoint (see Section 28.5) rather than writing a new checkpoint 🌈

Only superusers or users with the privileges of the pg_checkpoint role can call CHECKPOINT πŸ”


πŸ¦‹ COMPATIBILITY πŸ¦‹

The CHECKPOINT command is a PostgreSQL language extension ✨


xoxo, bestie πŸ’– this cutie is brought to you by PostgreSQL 17.11, dated 2026, signing off from the footer with a little CHECKPOINT(7) sparkle πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from