CodyBugstein
CodyBugstein

Reputation: 23352

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?

Upvotes: 18

Views: 21168

Answers (1)

Sameer Kazi
Sameer Kazi

Reputation: 17359

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();

Upvotes: 20

Related Questions