Last Updated: February 25, 2016
·
583
· caedes

Postgresql Installation Conflict

When conflicts version of psql (one from OSXLion, one from Homebrew) displays some error, just lets psql use the /tmp socket directory.

Put the following in your .bashrc (or .zshrc, etc):

export PGHOST=/tmp