For me it's "manually start postgresql"
Every once in a while my postgres server isn't running and I know to punch that into my browser and land on this Stack Overflow question, where I proceed to copy this command into my terminal:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
It happens infrequently enough that I never bother to alias it or remember how to type it out. I just remember what to Google.
I have postgres installed via homebrew. So I use brew info postgres to copy the start command :)
brew info postgres
I was gonna say this. Have bookmarked the stackoverflow post on this. :D
I could never remember "rails new myapp --database=postgresql" :|
Oh yes, I even googled and used this today because my service keeps stopping.
cant you just sudo service postgresql start ? :P