Odbc_fdw.control is missing

泪湿孤枕 提交于 2019-12-11 18:09:53

问题


I am using cartoDB and Postgres 9.3 including PostGIS. When I try to create development user in cartoDB I get this error:

'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

Also, when I try to run odbc_fdw extension inside Postgres I get the same error.

Any idea how to fix it?


回答1:


You have to install the files odbc_fdw--0.0.1.sql and odbc_fdw.control in the extension subdirectory of the PostgreSQL share directory.
You can find the PostgreSQL share directory with pg_config --sharedir.

In your case the files have to be installed in /usr/share/postgresql/9.3/extension.



来源:https://stackoverflow.com/questions/38584347/odbc-fdw-control-is-missing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!