尝试运行CREATE EXTENSION pgcrypto时出现错误。错误是:
ERROR: could not access file "MODULE_PATHNAME": No such file or directory
********** Error **********
ERROR: could not access file "MODULE_PATHNAME": No such file or directory
SQL state: 58P01发布于 2013-06-04 23:39:11
您可能需要先安装postgresql-contrib包。
如果您运行的是linux distrib或类似版本:sudo apt-get install postgresql-contrib。
你的扩展应该在那里:/usr/share/postgresql/9.2/extension (再次假设你运行的是linux、ubuntu或类似的操作系统)。
https://stackoverflow.com/questions/16921846
复制相似问题