How to completely uninstall PostgreSQL under Mac

Source: Internet
Author: User

This is for version 9.3. As in other editions, the following is for reference only.

1, if it is the form of, this simple, as with other apps, delete the app.

2, if it is installed using the Installer graphical interface method. You need to open the terminal command line.

3. Implementation

Open/Library/PostgreSQL/9.2 /  Uninstall-postgresql. app
you may be prompted to enter your password.

4, wait for the previous step to complete, delete the PostgreSQL folder

you may be prompted to enter your password

5. Delete the configuration file

/ etc / Postgres-reg . INI
you may be prompted to enter your password

6, in user management to remove PostgreSQL users, System Preferences--"users and user groups.

7, delete the shared memory settings (I have not done special settings, so I am this machine is not this file, if there is, can be deleted. )

/ etc / Sysctl . conf
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.