Completely uninstall PostgreSQL 9.0.4 from Mac OSX Lion?

前端 未结 9 979
难免孤独
难免孤独 2020-11-27 08:53

This question may look like a duplicate of: How to uninstall postgresql on my Mac (running Snow Leopard) however, there are two major differences. I\'m running Lion and I\'m

相关标签:
9条回答
  • 2020-11-27 09:41

    I don't use the same version, but uninstall actions are the same: Looking for file uninstall-postgresql inside directory

    /Library/PostgreSQL/9.6
    

    then run it.

    (Screenshot in macOS 10.13)

    then

    sudo rm -rf /Library/PostgreSQL/
    

    to delete all unnecessary directory.

    0 讨论(0)
  • 2020-11-27 09:41

    I was not able to uninstall PostgreSQL 9.0.8. But I finally found this. (I installed Postgres using homebrew)

    brew list
    

    Look for the correct folder name. Something like.

    postgresql9
    

    Once you find the correct name do:

    brew uninstall postgresql9
    

    That should uninstall it.

    0 讨论(0)
  • 2020-11-27 09:43

    homebrew Installer

    Assuming you installed PostgreSQL with homebrew as referenced in check status of postgresql server Mac OS X and how to start postgresql server on mac os x: you can use the brew uninstall postgresql command.

    EnterpriseDB Installer

    If you used the EnterpriseDB installer then see the other answer in this thread.

    The EnterpriseDB installer is what you get if you follow "download" links from the main Postgres web site. The Postgres team releases only source code, so the EnterpriseDB.com company builds installers as a courtesy to the community.

    Postgres.app

    You may have also used Postgres.app.

    This double-clickable Mac app contains the Postgres engine.

    0 讨论(0)
提交回复
热议问题