Postgresql plsh安装

时间:2012-10-09 08:24:30

标签: postgresql

我在Fedora机器上运行Postgresql8.4,我必须使用这个功能:

CREATE FUNCTION callSQLScript(scriptPath text) 
RETURNS void AS $$
    #!/bin/sh
    plsql -f scriptPath
$$ LANGUAGE plsh;

为此我必须安装plsh但是在安装plsh时它会在psql -d DBNAME后执行make时出错-f DBFF -f PREFIX / share / pgplsh / createlang_pgplsh.sql

/bin/sh: line 0: .: pgplsh.la: file not found

plsh

获取安装参考

请帮助我摆脱它。

1 个答案:

答案 0 :(得分:1)

看起来像这个问题:

https://github.com/petere/plsh/issues/1

所以你可能想要获取最新的pl / sh。当然,最新版本可能不会使用8.4的服务器构建。