【Postgres】Windows2012 不能启动

PG启动错误-不知道什么错误

等待 postgresql-x64-10 服务的连接超时(30000 毫秒)。
由于下列错误,postgresql-x64-10 服务启动失败: 
服务没有及时响应启动或控制请求。

编写bat文件

cd "C:Program FilesPostgreSQL10in"
"C:Program FilesPostgreSQL10inpg_ctl.exe" -D "C:Program FilesPostgreSQL10data" start
pause
@echo "Postgres启动"

 

原文地址:https://www.cnblogs.com/defineconst/p/10979325.html