我在 fedora 机器上运行 Postgresql8.4,我必须使用这个功能:
CREATE FUNCTION callSQLScript(scriptPath text)
RETURNS void AS $$
#!/bin/sh
plsql -f scriptPath
$$ LANGUAGE plsh;
为此我必须安装 plsh 但是在安装 plsh 时它在 psql -d DBNAME -f PREFIX/share/pgplsh/createlang_pgplsh.sql 之后执行 make 时出错
/bin/sh: line 0: .: pgplsh.la: file not found
从 plsh 获取安装引用
请帮我摆脱它。
最佳答案
关于Postgresql plsh安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12795796/