Page 1 of 1

Uninstall postgresql on Mac

PostPosted: Mon Jun 03, 2024 12:18 pm
by duathlon
I'm using Sonoma 14.5. When I click on uninstall-postgresql (9.3) nothing happens. I'm trying to update to the newest version and therefore I'm uninstalling this first.
Thanks

Re: Uninstall postgresql on Mac

PostPosted: Wed Jun 05, 2024 5:43 am
by Flag_Hippo
I don't know why that isn't working for you so please open a Mac "terminal" from "Applications" or "Utilities". Then one at a time copy/paste the following commands into the terminal and press the 'Enter' key after each one:

Code: Select all
ps aux | grep -i 'post[mg]'

Code: Select all
ls -la /Library/PostgreSQL

Code: Select all
sudo ls -la /Library/PostgreSQL/*/data

Code: Select all
sudo du -hd 1 /Library/PostgreSQL/ 2>/dev/null

The last two commands may ask for your Mac administrator password and for security reasons might not show anything as you type it in.

Once those commands run take a screenshot:

Guide: How To Create A Screenshot

Next copy/paste these:

Code: Select all
sudo ls -la /Library/LaunchDaemons/com.edb*

Code: Select all
sudo du -hd 1 /Users/ 2>/dev/null

Code: Select all
sudo cat /Users/postgres/data/PG_VERSION

Code: Select all
sudo find / -name pg_hba.conf 2>/dev/null

The last one could take a couple minutes or so to complete, wait until it appears gone and get another screenshot.

When you have the screenshots please attach them to a Support Ticket where a technician can review the information and give further guidance on upgrading your current PostgreSQL.

Guide: Attaching Files

highfalutin