pg_resetwal? Normally I'd just restore from backups at this point, but I'm helping someone else who doesn't have any to restore from.My next recommendation is a hail-mary: delete the WAL files entirely, see if PG will recreate a stub, and dump whatever data's left after losing gigabytes of WAL logs. That's certainly not ideal, but I'm out of ideas and google isn't helping.
Edit: found a solution: just keep running
pg_resetwal -f over and over until it finally works! Unfortunately, that only got me to the next issue: some actual data blocks are corrupted, including one holding part of the system catalog. So I can bring up the cluster and all data seems to be intact, but half of the tables are missing because the DDL itself is corrupted!






