Hvis du bruger Mac med bryg
For at starte:
brew services start postgresql
Sådan stopper du:
brew services stop postgresql
Brug af pg_ctl
For at starte:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
Sådan stopper du:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log stop