Created
May 28, 2012 17:45
-
-
Save luiztiago/2820260 to your computer and use it in GitHub Desktop.
Complete uninstall postgresql on Mac OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Manual Uninstallation: | |
1) Stop the server | |
sudo /sbin/SystemStarter stop postgresql-8.3 | |
2) Remove menu shortcuts: | |
sudo rm -rf /Applications/PostgreSQL 8.3 | |
3) Remove the ini file | |
sudo rm -rf /etc/postgres-reg.ini | |
4) Removing Startup Items | |
sudo rm -rf /Library/StartupItems/postgresql-8.3 | |
5) Remove the data and installed files | |
sudo rm -rf /Library/PostgreSQL/8.3 | |
6) Delete the user postgres | |
sudo dscl . delete /users/postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment