1

I just installed a fresh new install of PostgreSQL-10.5-1-win64-bigsql

Once installed I wanted to add the PostGIS extension ran: CREATE EXTENSION postgis; Got error message could not find C:\PostgreSQL\pg10\share\postgresql\extension\postgis.control

I found the file at this location C:\PostgreSQL\pg10\share\extension\

So I thought I could just copy the postgis.control into the directory where it was being looked for and ran the create extension and got this: ERROR: extension "postgis" has no installation script nor update path for version "2.4.4"

1
  • TMC if this issue is solved, please click on the tick to mark the right answer as the "answer".
    – GforGIS
    Commented Aug 31, 2018 at 1:23

2 Answers 2

2

When installing PostGres Database, the installer would install Stack Builder which is used to add extensions. Is is easier to use this method. Search for Stack Builder in Windows, run it and just add PostGIS from there.

1
  • I installed 'PostgreSQL-10.5-1-win64-bigsql' It did not install the Stack Builder. I did install other PostGres versions before trying 10 that did install the stack builder but the PostGis still had the error. I searched for the download of stack builder on its own but found no link yet. Maybe soluton is to use earlier version of PostGres. Thanks for your response.
    – TMC
    Commented Aug 30, 2018 at 10:50
0

I went back to the PostGres Web site, got directed to https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

Rebuilt the download, which turned out to be a much larger download file, installed and all items installed correctly now and PostGIS extension installed. Lyes, thanks for the help, it made me do another download to make sure the stack builder installed, Thanks.

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.