如何在 CentOS 6.7 的 postgresql 9.5 中安装 plv8?
How to install plv8 in postgresql 9.5 on CentOS 6.7?
我在 CentOS 6.7 上安装了 PG 9.5 link。
然后我从 GitHub 下载了 plv8-1.4.4.zip
并按照以下链接中的说明操作:https://github.com/plv8/plv8 and http://pgxn.org/dist/plv8/ 和 README。
我做了 make static
,看起来构建正常。
现在我在下一步中被阻止
"Once you installed plv8 into your dabase, create language via
$ psql -c 'CREATE EXTENSION plv8'"
如何在数据库中安装plv8?
因为 CREATE EXTENSION plv8
说找不到 plv8.control
文件。
如果我在 PG 安装路径中手动复制 plv8.so
、plv8.control
和 plv8-1.4.4.sql
- 我收到错误 symbol not found: oid_hash
所以,我找到了下一个安装指南,它帮助我在我的 PG 上安装 plv8:
make PG_CONFIG=path_to_postgresql_installation/bin/pg_config
make PG_CONFIG=path_to_postgresql_installation/bin/pg_config install
link.
我在 CentOS 6.7 上安装了 PG 9.5 link。
然后我从 GitHub 下载了 plv8-1.4.4.zip
并按照以下链接中的说明操作:https://github.com/plv8/plv8 and http://pgxn.org/dist/plv8/ 和 README。
我做了 make static
,看起来构建正常。
现在我在下一步中被阻止
"Once you installed plv8 into your dabase, create language via
$ psql -c 'CREATE EXTENSION plv8'"
如何在数据库中安装plv8?
因为 CREATE EXTENSION plv8
说找不到 plv8.control
文件。
如果我在 PG 安装路径中手动复制 plv8.so
、plv8.control
和 plv8-1.4.4.sql
- 我收到错误 symbol not found: oid_hash
所以,我找到了下一个安装指南,它帮助我在我的 PG 上安装 plv8:
make PG_CONFIG=path_to_postgresql_installation/bin/pg_config
make PG_CONFIG=path_to_postgresql_installation/bin/pg_config install
link.