ERROR: could not open extension control file "/usr/share/postgresql/9.1/extension/postgis.control":No such file or directory
当我尝试CREATE EXTENSION postgis;时得到的是什么?有人能告诉我为什么会这样吗?我可以做些什么来修复它?
我正在尝试为我们的产品构建一个带有PostgreSQL和PostGIS数据库的Docker映像。尽管基于off 构建映像(和容器)并不是那么困难和有效。但是,当添加用于构建数据库的ddl时,我遇到了问题。
我经常收到这样的信息:ERROR: type "geometry" does not exist。正因为如此,我在互联网上读过和读过,主要的根源似乎是我没有正确初始化PostGIS扩展。因此,
我在MacOS 10.7上使用的是Django1.2和最新版本的。当我运行manage.py syncdb来创建一个包含PointField的数据库时,我得到以下错误:Failed tofor stores.Store model: operator class "gist_geometry_ops" does not exist for access method "gist"
这是我</em