【发布时间】:2019-06-03 17:25:09
【问题描述】:
我最近在 MacOSX Mojave 上使用 Homebrew 安装了 Postgres 11.3。我想使用 TimescaleDB 扩展数据库,也安装了 Homebrew,但收到以下错误:
tutorial=# CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;
ERROR: could not open extension control file "/Library/PostgreSQL/11/share/postgresql/extension/timescaledb.control": No such file or directory
看起来该命令希望 Postgres 安装在 /Library 中,但 brew info postgres 说它位于 /usr/local/Cellar/postgresql/11.3。有没有办法可以修改命令使用的路径或更改 Postgres 的安装位置?
【问题讨论】:
-
您应该将此问题报告给 TimescaleDB 开发人员。他们可能不得不修改
timescaledbformula。
标签: postgresql homebrew timescaledb