【发布时间】:2010-11-18 02:01:36
【问题描述】:
我的 Windows 服务中有这个:
C:/Program Files/PostgreSQL/8.4/bin/pg_ctl.exe runservice -N "postgresql-8.4" -D "D:/PostgreSQL/8.4/data" -w
它永远不会完成执行。但如果我在 dos shell 上这样做:
C:/Program Files/PostgreSQL/8.4/bin/pg_ctl.exe start -N "postgresql-8.4" -D "D:/PostgreSQL/8.4/data" -w
请注意,我只是将“runservice”更改为“start”,它工作得很好。
有什么想法吗?
【问题讨论】:
标签: postgresql service