2
安装PL /红宝石我想使用PL/Ruby的程序语言,但它似乎Git仓库,不能很好地维护: https://github.com/Absolight/postgresql-plruby/tree/fixup-9-3上的PostgreSQL 9.3
当我创造新的语言:
create function plruby_call_handler() returns language_handler
as '/var/lib/postgresql/.rvm/rubies/ruby-2.1.3/lib/ruby/site_ruby/2.1.0/x86_64-linux/plruby'
language 'c'; -- Warning: the 'c' has to be lowercase, unlike the example on git.
我得到以下错误:
ERROR: could not load library "/var/lib/postgresql[...]plruby": undefined symbol: plruby_s_load
我在Ubuntu 14.10使用Ruby 2.1.4在PostgreSQL 9.3。
你能指定你的PostgreSQL服务器使用哪个操作系统吗? – vyegorov 2014-10-29 13:34:22
Ubuntu 14.10,问题更新。 – Victor 2014-10-29 19:36:19