head	1.2;
access;
symbols;
locks; strict;
comment	@.\" @;


1.2
date	2026.05.22.22.27.18;	author christos;	state Exp;
branches;
next	1.1;
commitid	Ip9NTW8ptkYjsRGG;

1.1
date	2026.04.28.20.40.42;	author christos;	state Exp;
branches;
next	;
commitid	bkVinBKnhvhtDLDG;


desc
@@


1.2
log
@Don't use $Mdocdate$. It breaks reproducible builds
@
text
@.Dd April 29, 2026
.Dt SQLITE_CHECKPOINT_NOOP 3
.Os
.Sh NAME
.Nm SQLITE_CHECKPOINT_NOOP ,
.Nm SQLITE_CHECKPOINT_PASSIVE ,
.Nm SQLITE_CHECKPOINT_FULL ,
.Nm SQLITE_CHECKPOINT_RESTART ,
.Nm SQLITE_CHECKPOINT_TRUNCATE
.Nd checkpoint mode values
.Sh SYNOPSIS
.In sqlite3.h
.Fd #define SQLITE_CHECKPOINT_NOOP
.Fd #define SQLITE_CHECKPOINT_PASSIVE
.Fd #define SQLITE_CHECKPOINT_FULL
.Fd #define SQLITE_CHECKPOINT_RESTART
.Fd #define SQLITE_CHECKPOINT_TRUNCATE
.Sh DESCRIPTION
These constants define all valid values for the "checkpoint mode" passed
as the third parameter to the
.Fn sqlite3_wal_checkpoint_v2
interface.
See the
.Fn sqlite3_wal_checkpoint_v2
documentation for details on the meaning of each of these checkpoint
modes.
.Sh IMPLEMENTATION NOTES
These declarations were extracted from the
interface documentation at line 10168.
.Bd -literal
#define SQLITE_CHECKPOINT_NOOP    -1  /* Do no work at all */
#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 */
.Ed
.Sh SEE ALSO
.Xr sqlite3_wal_checkpoint_v2 3
@


1.1
log
@Merge conflicts between 3.53.3 and 3.45.1
@
text
@d1 1
a1 1
.Dd $Mdocdate$
@

