How to remove Postgis?

I had PostGis installed on my machine and some files were corrupted. I want to uninstall and reinstall PostGIS in order to hope that everything will work again, but I'm not sure how to do it.

I am running Windows 8.1. I tried to find it on the control panel in the Programs and Features section, but PostGIS is not displayed there. I also tried in StackBuilder, but there are no delete options.

A Google search also brought nothing useful.

Has anyone done this before? Is it possible to uninstall and reinstall PostGIS by doing the same for all Postgres?

+5
source share
1 answer

this work is for me

And to remove postgis from your database, run below query

  drop extension PostGIS 

To check the postgisis version launch request in the request bar

  SELECT PostGIS_full_version(); 
+1
source

Source: https://habr.com/ru/post/1202246/


All Articles