I need to send data via http protocol (GET or POST request) from the function or trigger. Is it possible?
+3
A:
You could try writing the trigger in PL/Python and use urllib2 to POST.
Kevin
2010-07-24 14:42:04
Hmm, it looks like a PL/Perl in untrusted mode (http://www.postgresql.org/docs/8.4/interactive/plperl-trusted.html)...Are there differences in the use of PL/Python and PL/Perl? Both of then must be runned in untrusted mode and thats all? This means that I can use the module IO::Socket or HTTP::Request without any limitations?
im4LF
2010-07-24 17:37:33
Yes, that's all.
Frank Heikens
2010-07-24 18:09:27