HomeHow to uninstall PostgreSQL

How to uninstall PostgreSQL

Published on

spot_img

PostgreSQL is a effective open supply database gadget that leverages and extends the SQL language, mixed with a bunch of capabilities to safely shop and scale the maximum complicated facts workloads. PostgreSQL has lots of numerous capabilities designed to assist builders construct applications, directors guard facts integrity and create resilient environments, and assist control facts irrespective of dataset size.

getting rid of PostgreSQL

PostgreSQL isn’t generally problematic, however in case you are experiencing a few problems with it, it’s far advocated to reinstall the utility in place of looking to restoration the problem. Thus, right here we’re going to provide an explanation for a way to uninstall PostgreSQL from a Mac laptop without difficulty and speedy.

How to put off PostgreSQL the use of Terminal

Deleting PostgreSQL simply with the aid of using dragging-and-losing it into the Trash isn’t the right manner to uninstall apps. In this case, all of the Postgre gadget provider documents will stay in your laptop and maintain cluttering up your disk space. Meaning, they may now no longer can help you efficiently reinstall the app withinside the future.

To control the whole Postgre uninstallation first of all, you have to prevent the Postgres server in your Mac. For this, click on at the Elephant icon withinside the toolbar and choose Shutdown server

drop menu – Shutdown server selected

If you established Postgres with its Installer, then you could use the Terminal command line to put off Postgres. For this, visit the Applications folder, open Utilities subfolder, and release Terminal. After that run the uninstaller the use of the subsequent command:

open /Library/PostgreSQL/9.2/uninstall-postgresql.app

Or do this one

sudo /Library/PostgreSQL/9.1/uninstall-postgresql.app/Contents/MacOS/installbuilder.sh

If you get the message that this record does now no longer exist, then bypass to the second one PostgreSQL elimination manner. If the command runs the uninstaller, continue to the following steps.

Terminal window – uninstalling postgresQL command

Enter the administrator password to release the uninstaller. Then observe the supplied steps to put off the PostgreSQL and facts folders.

Unfortunately, the basis uninstaller doesn’t delete all provider documents of the program, so that you will want to put off them manually. For this, use the instructions below:

  1. Remove the ini record:
  2. sudo rm /etc/postgres-reg.ini
  3. Remove the PostgreSQL folder from the gadget Library:
  4. sudo rm -rf /Library/PostgreSQL

Remove the PostgreSQL consumer. Go to System Preferences → Users & Groups → click on the Lock icon and input the administrator password to release settings → choose the PostgreSQL and click on the “-” icon. System Preferences window – customers and groups – PostgreSQL consumer name

Restore your shared reminiscence settings the use of this command: sudo rm /etc/sysctl.conf

That’s all with the primary technique of elimination. If for a few cause this technique does now no longer give you the results you want otherwise you in reality do now no longer need to waste it slow we advise to uninstall PostgreSQL with the App Cleaner & Uninstaller tool, so one can mechanically locate all help documents of PostgreSQL and put off the utility entirely. Keep studying this text to discover extra approximately this tool.

The simplest manner to put off PostgreSQL from Mac

Uninstalling PostgreSQL with Terminal can be a honestly time-eating process. Moreover, you would possibly have overlooked a few provider documents and left them in your Mac’s tough drive. That’s why we advise which you uninstall PostgreSQL mechanically.

For the automated uninstallation technique, you want to apply a unique loose cleanup utility – App Cleaner & Uninstaller. This software program mechanically gathers all of the provider documents of every app and permits you to uninstall them with one click on. With this uninstaller, you could uninstall PostgreSQL with none greater steps and it’ll now no longer take a great deal of it slow. Here are some steps to do that:

Download App Cleaner & Uninstaller and release it.

Confirm get entry to in your Applications folder and it’ll begin scanning it to locate the established apps in your Mac. Then you’ll see a listing of apps withinside the left segment of the utility window. Find and choose the PostgreSQL folder. In the proper segment, you could preview all executable documents, help documents, cache and all kinds of record associated with PostgreSQL.

Click the Remove button and verify the elimination of the chosen documents.

App Cleaner & Uninstaller window displaying postgreSQL

That is why when you have already deleted PostgreSQL in a ordinary manner, simply with the aid of using dragging-and-losing it into the Trash, we advise you to exchange to the Remaining Files tab. That segment will show all of the leftovers of formerly incorrectly deleted applications. So this is the correct choice to speedy get a few loose space.

Terminal window – uninstalling postgresQL command

Conclusion

In this text, we supplied you with methods of uninstalling PostgreSQL from Mac. You can uninstall it manually the use of the Terminal, that’s a time-eating challenge or you could observe the practise of automated uninstallation. Nektony recommends the use of a expert App Cleaner & Uninstaller tool. This utility turned into evolved mainly for fast, safe, and whole uninstallation of any not wished utility.

Latest articles

Instagram Model Raebanns

Whether you love her or loathe her, there is no denying that Raebanns is one of...

What to Look For in a Consulting Firm

Whether you are running a company or a government agency, you're probably looking for...

What is the best way to boost the performance of your PC?

If your PC is slow, you cannot accomplish your tasks. You may consider upgrading...

10 Of Mithali Raj’s Finest International Cricket Innings

Mithali Raj is a well-known personality in the world of women's cricket, and she...

More like this

Instagram Model Raebanns

Whether you love her or loathe her, there is no denying that Raebanns is one of...

What to Look For in a Consulting Firm

Whether you are running a company or a government agency, you're probably looking for...

What is the best way to boost the performance of your PC?

If your PC is slow, you cannot accomplish your tasks. You may consider upgrading...