Uninstalling Postgres

Note

  • Make sure you have permission to uninstall programs from your computer. Contact your IT administrator if you do not have permissions.

  • In case your anti- virus is preventing you from uninstalling it. Stop or pause your anti- virus.

Steps:
  • Stop\Delete “veda-db” service:
    • Open Task manager

    • Look for a service called “veda-db”.

    ../../_images/veda-service.PNG
    • Delete “veda-db” service:
      1. Open command prompt as an administrator

      ../../_images/admin-cmd.PNG
      1. Run the following commands:
        • SC STOP veda-db (skip if the service is already stopped)

        • SC DELETE veda-db

      ../../_images/cmd-stop_service.PNG
  • After getting success message, you can go ahead and uninstall Postgres:

../../_images/uninstall-postgres.PNG
  • If the pgsql folder in Veda2.0 directory is empty then it is safe to delete it.

  • It is safe to delete the Veda2.0 directory as well, if it does not contain any user’s model folders.

../../_images/empty_veda_dir.PNG
  • Delete Postgres from Registry:
    • Open Registry editor as an administrator

    ../../_images/registry-admin.PNG
    • From the list, right-click and delete the following folders:
      1. PostgreSQL

      2. PostgreSQL Global Development Group

      ../../_images/registry_editor.PNG