postgres启动关闭

来源:互联网 发布:淘宝卖家收费 编辑:程序博客网 时间:2024/06/17 22:25

The Homebrew package manager includes launchctl plists to start automatically. For more information run brew info postgres.

Start manually:

pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start

Stop manually:

pg_ctl -D /usr/local/var/postgres stop -s -m fast

0 0