PostgreSQL server wouldn't shutdown on Lion (Mac OS 10.7)

后端 未结 4 1160
深忆病人
深忆病人 2020-12-22 19:06

I installed PostgreSQL using Homebrew on Lion. It starts okay but wouldn\'t shutdown. I tried:

$ #started with
$ pg_ctl -D /usr/local/var/postgres -l /usr/lo         


        
4条回答
  •  感情败类
    2020-12-22 19:26

    If you used Homebrew to install postgresql, then as Shevauns comment on Greg's answer indicates, the correct procedure is

    launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
    rm ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
    

提交回复
热议问题