CmdID

CmdID / Commands

pg_resetwal

Reset the write-ahead log and other control information of a PostgreSQL database cluster. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Reset the WAL and control information for a specific data directory

pg_resetwal --pgdata path/to/dataIdentify

Simulate resetting without actually doing it

pg_resetwal --pgdata path/to/data --dry-runIdentify

Force the WAL and control information reset

pg_resetwal --pgdata path/to/data --forceIdentify

Display help

pg_resetwal --helpIdentify

Display version

pg_resetwal --versionIdentify