Re: Trigger that will execute external program

Поиск
Список
Период
Сортировка
От Tomasz Myrta
Тема Re: Trigger that will execute external program
Дата
Msg-id 20030217071821.M2591@klaster.net
обсуждение исходный текст
Ответ на Trigger that will execute external program  ("David Loh" <david@bizsurf.com>)
Список pgsql-sql
> Hi all.
> I'd like to know if postgresql has the capability of execute 
> external program with the trigger, for example, I had a trigger call 
> "exceed_limit", when this trigger has fire, instead of update other 
> relations, it will also execute a external program '/bin/send_email',
>  is that possble ? If it's possible, can any of you guy please show 
> me how to do it ? Thanks in advance.
Read Postgresql documentation: 21.4. Trusted and Untrusted PL/Perl.
Probably C functions have also ability for running system commands.
Regards,
Tomasz Myrta


В списке pgsql-sql по дате отправления:

Предыдущее
От: "David Loh"
Дата:
Сообщение: Trigger that will execute external program
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: is current_timestamp unique for a transaction?