pg_resetwal: add page (#18836)

This commit is contained in:
Alessandro Chitarrini
2025-10-20 07:26:23 +02:00
committed by GitHub
parent c49d4c7638
commit 58c45269e0
+24
View File
@@ -0,0 +1,24 @@
# pg_resetwal
> Reset the write-ahead log and other control information of a PostgreSQL database cluster.
> More information: <https://www.postgresql.org/docs/current/app-pgresetwal.html>.
- Reset the WAL and control information for a specific data directory:
`pg_resetwal {{[-D|--pgdata]}} {{path/to/data}}`
- Perform a dry run:
`pg_resetwal {{[-D|--pgdata]}} {{path/to/data}} {{[-n|--dry-run]}}`
- Force the WAL and control information reset:
`pg_resetwal {{[-D|--pgdata]}} {{path/to/data}} {{[-f|--force]}}`
- Display help:
`pg_resetwal {{[-?|--help]}}`
- Display version:
`pg_resetwal {{[-V|--version]}}`