Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you uninstall Postgis?

I had PostGis installed on my machine, and somehow, some files got corrupted. I want to uninstall and reinstall PostGIS to hopefully get things working again, but I am not sure how to go about this.

I am running Windows 8.1. I've tried searching for it in the Control Panel under Programs and Features but PostGIS doesn't show up there. I've also tried in the StackBuilder but there are no uninstall options.

A Google search also turned up nothing useful.

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

like image 518
CodyBugstein Avatar asked Sep 10 '14 14:09

CodyBugstein


1 Answers

this work for me

And for remove postgis from your database run below query

   drop extension PostGIS

To check postgisis version run query in query panel

   SELECT PostGIS_full_version();
like image 82
Sameer Kazi Avatar answered Nov 14 '22 06:11

Sameer Kazi