o3d Posted February 16, 2007 Share Posted February 16, 2007 I come from a sql server background so please bear with me. Is it possible and if so, how is it possible to run a shell command from a postgres function? In a nutshell, I want a php script to be fired (in the function: php -f phpfile.php) from a trigger (which will call this function) when a row is inserted into a table. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/38733-run-shell-command-from-plpgsql/ Share on other sites More sharing options...
POSTGRES_GOD Posted March 1, 2008 Share Posted March 1, 2008 PG AGENT Link to comment https://forums.phpfreaks.com/topic/38733-run-shell-command-from-plpgsql/#findComment-480590 Share on other sites More sharing options...
devreflex2004 Posted March 22, 2008 Share Posted March 22, 2008 Hi POSTGRES_GOD , Can you pls let me know where I can get much resources on POSTGRESQL ? Thanks in advance Link to comment https://forums.phpfreaks.com/topic/38733-run-shell-command-from-plpgsql/#findComment-498169 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.