osx - Issue with conflicting postgres when using homebrew -


i have issue when attempting use postgresql along homebrew. after doing clean install (and after upgrading postgresql 9.1.3 9.2.4 , doing system update of macos x) appears postgresql comes lion conflicting 1 homebrew provides.

the conflict means when osx launches (and ~/library/launchagents/homebrew.mxcl.postgresql.plist), postgresql fails load @ startup, causes the

psql: not connect server: no such file or directory     server running locally , accepting     connections on unix domain socket "/tmp/.s.pgsql.5432"? 

error. thing is, if manually load , unload homebrew.mxcl.postgresql.plist agent, postgresql works point onwards, know how fix issue (i think may conflict between /usr/bin/psql , homebrew's /usr/local/bin/psql)

edit: after fresh reboot , running launchctl list | grep postgres, result 680 - homebrew.mxcl.postgresql, running launchctl list | grep pg gives nothing, , odd reason, happens working (even though havn't changed after posting this). reboot few more times figure out happened

edit2: seems work now, have no idea why (wasted 3 hours on last night), going mark answered until comes again

it seems working, maybe odd happening in boot sequence postgres working fine, expected, through homebrew


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -