如题,因为服务器死机断电重启,postgresql 报错了,postgresql error PANIC: could not locate a valid checkpoint record ,按照这个教程:
https://stackoverflow.com/questions/8799474/postgresql-error-panic-could-not-locate-a-valid-checkpoint-record
pg_resetwal /var/lib/postgresql/data
结果,postgresql 正常运行,但是数据库空了,只剩下 postgres 库,其他数据库全部丢失了,这是因为执行完这个命令导致的吗
|