summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/SQLITE_CHECKPOINT_PASSIVE.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:15 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:15 -0400
commit253e67c8b3a72b3a4757fdbc5845297628db0a4a (patch)
treeadf53b66087aa30dfbf8bf391a1dadb044c3bf4d /static/netbsd/man3/SQLITE_CHECKPOINT_PASSIVE.3
parenta9157ce950dfe2fc30795d43b9d79b9d1bffc48b (diff)
docs: Added All NetBSD Manuals
Diffstat (limited to 'static/netbsd/man3/SQLITE_CHECKPOINT_PASSIVE.3')
-rw-r--r--static/netbsd/man3/SQLITE_CHECKPOINT_PASSIVE.335
1 files changed, 35 insertions, 0 deletions
diff --git a/static/netbsd/man3/SQLITE_CHECKPOINT_PASSIVE.3 b/static/netbsd/man3/SQLITE_CHECKPOINT_PASSIVE.3
new file mode 100644
index 00000000..b33153a7
--- /dev/null
+++ b/static/netbsd/man3/SQLITE_CHECKPOINT_PASSIVE.3
@@ -0,0 +1,35 @@
+.Dd January 24, 2024
+.Dt SQLITE_CHECKPOINT_PASSIVE 3
+.Os
+.Sh NAME
+.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_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 9706.
+.Bd -literal
+#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