how to change install postgis location? postgres

后端 未结 2 791
情话喂你
情话喂你 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

    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

提交回复
热议问题