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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM