Updated: 2025/Nov/16
Please read Privacy Policy. It's for your privacy.
SQLITE_CHECKPOINT_PASSIVE(3) Library Functions Manual
NAME
SQLITE_CHECKPOINT_PASSIVE, SQLITE_CHECKPOINT_FULL,
SQLITE_CHECKPOINT_RESTART, SQLITE_CHECKPOINT_TRUNCATE - checkpoint mode
values
SYNOPSIS
#include <sqlite3.h>
#define SQLITE_CHECKPOINT_PASSIVE
#define SQLITE_CHECKPOINT_FULL
#define SQLITE_CHECKPOINT_RESTART
#define SQLITE_CHECKPOINT_TRUNCATE
DESCRIPTION
These constants define all valid values for the "checkpoint mode" passed
as the third parameter to the sqlite3_wal_checkpoint_v2() interface. See
the sqlite3_wal_checkpoint_v2() documentation for details on the meaning
of each of these checkpoint modes.
IMPLEMENTATION NOTES
These declarations were extracted from the interface documentation at
line 9706.
#define SQLITE_CHECKPOINT_PASSIVE 0 /* Do as much as possible w/o blocking */
#define SQLITE_CHECKPOINT_FULL 1 /* Wait for writers, then checkpoint */
#define SQLITE_CHECKPOINT_RESTART 2 /* Like FULL but wait for readers */
#define SQLITE_CHECKPOINT_TRUNCATE 3 /* Like RESTART but also truncate WAL */
SEE ALSO
sqlite3_wal_checkpoint_v2(3)
NetBSD 11.99 January 24, 2024 NetBSD 11.99