We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c49d4c7 commit 58c4526Copy full SHA for 58c4526
pages/common/pg_resetwal.md
@@ -0,0 +1,24 @@
1
+# pg_resetwal
2
+
3
+> Reset the write-ahead log and other control information of a PostgreSQL database cluster.
4
+> More information: <https://www.postgresql.org/docs/current/app-pgresetwal.html>.
5
6
+- Reset the WAL and control information for a specific data directory:
7
8
+`pg_resetwal {{[-D|--pgdata]}} {{path/to/data}}`
9
10
+- Perform a dry run:
11
12
+`pg_resetwal {{[-D|--pgdata]}} {{path/to/data}} {{[-n|--dry-run]}}`
13
14
+- Force the WAL and control information reset:
15
16
+`pg_resetwal {{[-D|--pgdata]}} {{path/to/data}} {{[-f|--force]}}`
17
18
+- Display help:
19
20
+`pg_resetwal {{[-?|--help]}}`
21
22
+- Display version:
23
24
+`pg_resetwal {{[-V|--version]}}`
0 commit comments