brew services start postgresql
pg_ctl -D /usr/local/var/postgres start
pg_ctl start -D "D:PathToData"
brew services stop postgresql
pg_ctl -D /usr/local/var/postgres stop
pg_ctl.exe start -D "C:Program FilesPostgreSQL"Version"data