Odbc_fdw.control is missing



我使用的是cartoDB和Postgres 9.3,包括PostGIS。当我试图在cartoDB中创建开发用户时,我得到了以下错误:

'CREATE EXTENSION IF NOT EXISTS odbc_fdw SCHEMA public;'
ERROR:  could not open extension control file "/usr/share/postgresql/9.3/extension/odbc_fdw.control": No such file or directory

此外,当我尝试在Postgres中运行odbc_fdw扩展时,我也会遇到同样的错误。

知道怎么修吗?

您必须将文件odbc_fdw--0.0.1.sqlodbc_fdw.control安装在PostgreSQL共享目录的extension子目录中
您可以通过pg_config --sharedir找到PostgreSQL共享目录。

在您的情况下,文件必须安装在/usr/share/postgresql/9.3/extension中。

最新更新