PGSQL invalid primary checkpoint record could not locate a valid checkpoint record

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

猜你喜欢

转载自www.cnblogs.com/MysticBoy/p/12209299.html