我Fedora的机器上运行Postgresql8.4,我要使用此功能:PostgreSQL的PLSH安装
CREATE FUNCTION callSQLScript(scriptPath text)
RETURNS void AS $$
#!/bin/sh
plsql -f scriptPath
$$ LANGUAGE plsh;
为了这个,我必须安装PLSH但在安装PLSH在执行使PSQL之后它给错误-d DBNAME -f PREFIX /股/ pgplsh/createlang_pgplsh.sql
/bin/sh: line 0: .: pgplsh.la: file not found
两者安装从plsh
参考,请帮助我摆脱Ø用它。
Fedora *什么*? 17?更旧的东西? –
Fedora14和postgresql8.4 –