PGSQL invalid primary checkpoint record could not locate a valid checkpoint record
时间:2020-01-18 17:15:57
收藏:0
阅读:329
pgsql | 2020-01-18 16:14:06.418 CST [25] LOG: invalid primary checkpoint record
pgsql | 2020-01-18 16:14:06.418 CST [25] PANIC: could not locate a valid checkpoint record
如果在容器中, 使用
docker run -it -v /dbdata/postgresql:/var/lib/postgresql/data registry.uixe.net/images/postgres /bin/bash
registry.uixe.net/images/postgres 是我的内网镜像地址
gosu postgres pg_resetwal -f /var/lib/postgresql/data
原文:https://www.cnblogs.com/MysticBoy/p/12209299.html
评论(0)