I need to send data via http protocol (GET or POST request) from the function or trigger. Is it possible?
相关问题
- POST Base64 encoded data in PHP
- Django distinct is not working
- PostgreSQL: left outer join syntax
- Connecting Python to a Heroku PostgreSQL DB?
- PostgreSQL - Deleting data that are older than an
相关文章
- postgresql 关于使用between and 中是字符串的问题
- postgresql 月份差计算问题
- Using boolean expression in order by clause
- Table valued Parameter Equivalent in Postgresql
- in redshift postgresql can I skip columns with the
- Oracle equivalent of PostgreSQL INSERT…RETURNING *
- PostgreSQL field data type for IPv4 addresses
- Using prepared statement in stored function
You could try writing the trigger in PL/Python and use urllib2 to POST.
Any "untrusted" language with HTTP support can do this:
but you shouldn't really do it. See Does PLV8 support making http calls to other servers? and why you shouldn't send email from a trigger function.
There is an extension to do this, use with caution.
pgsql-http