4

I installed PostgreSQL 12 using Windows Installer. After the installation, there´s no option to install postgis extension. I tried to add postgis support in a database using CREATING EXTENSION and I got an error message about postgis.control missing file.

How can I proceed to use PostGIS features in PostgreSQL 12?

5
  • 2
    Checking the PostGIS website, I don't see any mention of it working on Postgres 12. If you could use 11 instead, that site should give you all the information and links needed to install it.
    – Dan Getz
    Commented Oct 4, 2019 at 15:01
  • 1
    Yes, you´re right. On the other hand, there´s no mention that it doesn´t. :) Commented Oct 4, 2019 at 17:16
  • PostGIS 3 is compatible with Postgres 12 blog.cleverelephant.ca
    – Mapperz
    Commented Oct 4, 2019 at 18:19
  • PostGIS 3 is imminent twitter.com/pwramsey/status/1180160479584378880
    – Mapperz
    Commented Oct 4, 2019 at 18:23
  • Which platform/os do you use? For windows there is a batch script for example. Commented Oct 5, 2019 at 8:58

2 Answers 2

4

I installed it yesterday, you could use the application Stack Builder. Here you have some screenshots.

enter image description here enter image description here

0

There is a new PostGIS release out today (PostGIS 3.0.0rc1) that works with PostgreSQL 9.5-12 and GEOS >= 3.6: http://postgis.net/2019/10/08/postgis-3.0.0rc1/

(Admittedly I have not yet succeeded in adding it to my own PostgreSQL 12 database on Windows 10, which is how I landed here on this thread.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.