Showing posts with label PostgreSQL. Show all posts
Showing posts with label PostgreSQL. Show all posts

Sunday, April 19, 2020

Postgresql - launch options

Run as a Background service:

To have launchd start postgresql now and restart at login:
  brew services start postgresql

Not as a Background service:
Or, if you don't want/need a background service you can just run:
  pg_ctl -D /usr/local/var/postgres start

Sunday, November 25, 2018

PostgreSQL & Homebrew

https://stackoverflow.com/questions/15301826/psql-fatal-role-postgres-does-not-exist
If you're using postgres from Homebrew, then you want /usr/local/Cellar/postgresql/9.2.4/bin/createuser -s postgres (for version 9.2.4, obviously). 

Followers

Blog Archive