I was installing postgres and may have installed it twice. The first installation appears to be spinning up a postgres server with a password I admittedly don't remember.
I used netstat -vanp tcp | grep 5432
to determine the PID then I used ps aux | grep 560
to find the program (as seen below)
postgres 560 0.0 0.0 408830848 2208 ?? Ss 18Apr22 0:10.26 /Library/PostgreSQL/14/bin/postmaster -D /Library/PostgreSQL/14/data
How can I go about preventing this program from starting up automatically?
EDIT: I'm on a M1 mac with Monterey 12.3.1
EDIT2:
I've run sudo launchctl list | grep post
and was able to find the postgres program under
560 0 postgresql-14
now I'm looking into how to remove it from launchctl