New answers tagged

0

HARD REBOOT INSTRUCTIONS I had this same issue after a hard reboot. After checking the postmaster.pid file's pid, I noticed I had no process running. I didn't want to hard delete the .pid file, instead I used a pg-stop alias I had created in my .bash_profile. this alias just runs pg_ctl -D /usr/local/var/postgres stop -s -m fast For Reference # psql ...


2

There is an very popular way of doing this using "dotfiles", which are configuration files that you can version on GitHub (or other VCS). Check out this guide to learn about dotfiles and get started with your own: https://dotfiles.github.io/ Once you've got a "dotfiles" repository set up to backup your configuration, you can add a "Brewfile" which can ...



Top 50 recent answers are included