我用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
我在pgrouting.control
/usr/local/Cellar/pgrouting/2.4.1/share/postgresql/extension/pgrouting.control
我应该将这些文件从/ usr ...复制到/ Library / Postgres ...... ??
答案 0 :(得分:1)