Postgresql installation “no socket” error code on OSX fixed!
I had an error code after installing postgresql on Mac OSX with homebrew. After spending two hours googling the web– stackoverflow, blog, etc, nothing works. I got some help and this one liner will fix everything: