【问题标题】:Pgrouting in postgres - cannot create extensionpostgres 中的 Pgrouting - 无法创建扩展
【发布时间】:2017-10-21 07:26:47
【问题描述】:

我使用 EDB 安装程序安装了 postgres。我想在我的数据库中使用 pgrouting。于是我通过自制软件下载了brew install pgrouting

接下来,我想在我的数据库中初始化它:psql mydatabase -c "create extension pgrouting;"

但是我收到了这个错误ERROR: could not open extension control file "/Library/PostgreSQL/9.6/share/postgresql/extension/pgrouting.control": No such file or directory

我在/usr/local/Cellar/pgrouting/2.4.1/share/postgresql/extension/pgrouting.control 中找到了pgrouting.control

我应该将这些文件从 /usr... 复制到 /Library/Postgres... 吗??

【问题讨论】:

标签: postgresql homebrew postgis pgrouting


【解决方案1】:

是的,这听起来是一个合理的解决方案。

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-02-28
  • 1970-01-01
  • 1970-01-01
  • 2018-02-27
  • 2017-06-27
  • 1970-01-01
相关资源
最近更新 更多