简体   繁体   English

PostgreSQL plsh安装

[英]Postgresql plsh installation

I have Postgresql8.4 running on fedora machine , I have to use this function : 我在fedora机器上运行Postgresql8.4,我必须使用以下功能:

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

for this I have to install plsh but while installing plsh it is giving error while executing make after psql -d DBNAME -f PREFIX/share/pgplsh/createlang_pgplsh.sql 为此,我必须安装plsh,但在安装plsh时,在执行psql -d DBNAME -f PREFIX / share / pgplsh / createlang_pgplsh.sql之后执行make时会出错

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

Taken installation reference from plsh 取自plsh的安装参考

Please Help me getting rid out of it. 请帮助我摆脱它。

Looks like this issue: 看起来像这样的问题:

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

so you might want to grab the latest pl/sh. 因此,您可能想获取最新的pl / sh。 Of course, the latest version might not build with a server as old as 8.4. 当然,最新版本可能无法使用早于8.4的服务器构建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM