PostgreSQL windows service启动失败

from: http://stackoverflow.com/questions/1251233/unable-to-run-postgresql-as-windows-service
pg_ctl -D "C:\Program Files\PostgreSQL\9.1\data" stop
pg_ctl -D "C:\Program Files\PostgreSQL\9.1\data" start
pg_ctl -D "C:\Program Files\PostgreSQL\9.1\data" status

from: http://blog.csdn.net/dracotianlong/article/details/7828515
pg_ctl
名称
pg_ctl -- 启动、停止、重启 PostgreSQL
语法
pg_ctl start [-w] [-s] [-D datadir] [-l filename] [-o options] [-p path]
pg_ctl stop [-W] [-s] [-D datadir] [-m s[mart] | f[ast] | i[mmediate] ]
pg_ctl restart [-w] [-s] [-D datadir] [-m s[mart] | f[ast] | i[mmediate] ] [-o options]
pg_ctl reload [-s] [-D datadir]
pg_ctl status [-D datadir]
pg_ctl kill [signal_name] [process_id]
pg_ctl register [-N servicename] [-U username] [-P password] [-D datadir] [-w] [-o options]
pg_ctl unregister [-N servicename]

posted @ 2016-12-24 00:44  庚武  Views(4313)  Comments(0Edit  收藏  举报