PostgreSQL error when trying to create an extension

后端 未结 15 956

ERROR: could not open extension control file \"/usr/share/postgresql/9.1/extension/postgis.control\": No such file or directory

Is what I get when I tr

15条回答
  •  感动是毒
    2020-12-23 20:08

    You need to install postgresql-9.1-postgis-scripts. In Ubuntu or Debian, you need to run the following command as root:

    apt-get install postgresql-9.1-postgis-scripts
    

    This adds the files needed to create the postgis extensions.

提交回复
热议问题