安装postgresql之后为什么找不到postgresql service

没有正常启动 postgresql service.
可以 在运行里面 输入 services.msc 找到 postgresql 的服务。启动他。
或者也可以
用postgres 自带的 工具pg_ctl来注册
D:pgsql>binpg_ctl register -N PostgreSQL -D “D:pgsqldata”
启动PostgreSQL服务
D:pgsql> sc start PostgreSQL
原文地址:https://www.cnblogs.com/shizhijie/p/7606545.html