Skip to content

Instantly share code, notes, and snippets.

View kostikpl's full-sized avatar
🐥

Konstantin Plyusnin kostikpl

🐥
View GitHub Profile
@kostikpl
kostikpl / major_pg_update.md
Last active January 29, 2018 21:01
major version postgres update via brew

Accidentally update all brew packages, including PG. I find missing pg connection through ps aux | grep sql Also I recognize in brew services that PG status is "started" but writen in yellow. brew services list After I check PG log to be ensure PG was updated less /usr/local/var/log/postgres.log Here's steps how to fix this.

$ launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
$ brew services stop postgresql