Uninstall postgresql on Mac

A special forum dedicated to our PT4 for Mac OS X users

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Uninstall postgresql on Mac

Postby duathlon » Mon Jun 03, 2024 12:18 pm

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
duathlon
 
Posts: 70
Joined: Thu Mar 27, 2008 12:03 am

Re: Uninstall postgresql on Mac

Postby Flag_Hippo » Wed Jun 05, 2024 5:43 am

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
Flag_Hippo
Moderator
 
Posts: 15538
Joined: Tue Jan 31, 2012 7:50 am


Return to PT4 for macOS

Who is online

Users browsing this forum: No registered users and 10 guests

cron
highfalutin