启动数据库:
start:表示启动postgres服务器进程
-D:指定数据库服务器的初始目录的存放路径
pg_ctl start -w -D postgresql\9.3\data
关闭数据库:
stop:表示启动postgres服务器进程
-m fast:关闭数据库时,使用fast关闭模式
pg_ctl stop -m fast -w -D postgresql\9.3\data
PS:pt_ctl 是操作系统命令,不是psql命令,需要在操作系统命令下执行