摘要:
1、脚本文件运行出错:syntax error: unexpected end of file 1、查看脚本文件格式 vim check_pg_ha.sh打开文件,执行 :set ff,回车,左下角有 fileformat=dos,则为dos格式,必须转换为unix格式才能使用。 2、解决方法 vi 阅读全文
摘要:
1、从软件包安装pg_auto_failover # Add the repository to your system curl https://install.citusdata.com/community/rpm.sh | sudo bash # Install pg_auto_failove 阅读全文