summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/SQLITE_CHECKPOINT_PASSIVE.3
diff options
context:
space:
mode:
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