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
This works for me
pg_ctl -D /Library/PostgreSQL/9.2/data/ start
pg_ctl -D /Library/PostgreSQL/9.2/data/ stop
Source https://sites.google.com/site/amaosblog/database/postgresql/how-to-start-stop-postgresql-9-2-on-mac-os-x-10-8-x