从plpgsql执行来自OS的操作系统 [英] Excute comnands OS from plpgsql

查看:68
本文介绍了从plpgsql执行来自OS的操作系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!有没有办法在plpgsql中执行OS中的脚本???


__________________________________________________ _______________

Charla con tus amigosenlíneamedicteMSN Messenger:
http://messenger.yupimsn.com/

- --------------------------(广播结束)------------------- --------

提示1:订阅和取消订阅命令转到 ma *** ****@postgresql.org

Hi!! Is there a way to execute script in OS from plpgsql???

__________________________________________________ _______________
Charla con tus amigos en línea mediante MSN Messenger:
http://messenger.yupimsn.com/
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

推荐答案

是的,你可以使用plsh

http://developer.postgresql.org/~petere/plsh.html


问候

Pavel


2003年10月14日星期二,Edwin Quijada写道:
Yes, you can use plsh

http://developer.postgresql.org/~petere/plsh.html

regards
Pavel

On Tue, 14 Oct 2003, Edwin Quijada wrote:
嗨!!有没有办法从plpgsql中执行OS中的脚本???

__________________________________________________ _______________
Charla con tus amigosenlíneamedicteMSN Messenger:
http://messenger.yupimsn.com/

--------- ------------------(广播结束)---------------------------
提示1:订阅和取消订阅命令转到 ma*******@postgresql.org
Hi!! Is there a way to execute script in OS from plpgsql???

__________________________________________________ _______________
Charla con tus amigos en línea mediante MSN Messenger:
http://messenger.yupimsn.com/
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org



---------------------------(广播结束)------ ---------------------

提示8:解释分析是你的朋友


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Edwin Quijada写道:
Edwin Quijada writes:
嗨!!有没有办法从plpgsql执行OS中的脚本???
Hi!! Is there a way to execute script in OS from plpgsql???




不,你需要调用一个用不可信的语言编写的函数,比如

PL / perlu。


-

Peter Eisentraut pe ***** @ gmx.net

--------------------------- (播出结束)---------------------------

提示7:别忘了增加你的免费空间地图设置



No, you need to call a function written in an untrusted language, such as
PL/perlu.

--
Peter Eisentraut pe*****@gmx.net
---------------------------(end of broadcast)---------------------------
TIP 7: don''t forget to increase your free space map settings


你好,


Pavel Stehule写道,2003年10月14日5: 47 PM:


Pavel Stehule wrote, On 10/14/2003 5:47 PM:
是的,你可以使用plsh

http://developer.postgresql.org/~petere/plsh.html

问候语Pavel
Yes, you can use plsh

http://developer.postgresql.org/~petere/plsh.html

regards
Pavel




或plperl,或plphp :)


C.



or plperl, or plphp too :)

C.


这篇关于从plpgsql执行来自OS的操作系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆