how to change install postgis location? postgres

后端 未结 2 792
情话喂你
情话喂你 2021-02-05 08:10

When I am in my postgres db and tried to create an extension for my db, I get this error

ERROR: could not open extension control file \"/usr/share/postgresql/9.5/

相关标签:
2条回答
  • 2021-02-05 08:27

    You should use the following command:

    sudo apt-get install postgresql-9.6-postgis-scripts
    
    0 讨论(0)
  • 2021-02-05 08:27

    Use the following command to get the postgis.control in your 9.5 version directory:

    sudo apt install postgis postgresql-9.5-postgis-2.3

    0 讨论(0)
提交回复
热议问题