pg_resetwal resets the PostgreSQL write-ahead log. Usage: pg_resetwal [OPTION]... DATADIR Options: [-D, --pgdata=]DATADIR data directory -f, --force force update to be done even after unclean shutdown or if pg_control values had to be guessed -n, --dry-run no update, just show what would be done -V, --version output version information, then exit -?, --help show this help, then exit Options to override control file values: -c, --commit-timestamp-ids=XID,XID set oldest and newest transactions bearing commit timestamp (zero means no change) -e, --epoch=XIDEPOCH set next transaction ID epoch -l, --next-wal-file=WALFILE set minimum starting location for new WAL -m, --multixact-ids=MXID,MXID set next and oldest multitransaction ID -o, --next-oid=OID set next OID -O, --multixact-offset=OFFSET set next multitransaction offset -u, --oldest-transaction-id=XID set oldest transaction ID -x, --next-transaction-id=XID set next transaction ID --wal-segsize=SIZE size of WAL segments, in megabytes Report bugs to . PostgreSQL home page: