Plperlu and sending emails, is it safe?

Поиск
Список
Период
Сортировка
От Philippe Lang
Тема Plperlu and sending emails, is it safe?
Дата
Msg-id 6C0CF58A187DA5479245E0830AF84F420B018B@poweredge.attiksystem.ch
обсуждение исходный текст
Ответы Re: Plperlu and sending emails, is it safe?  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Re: Plperlu and sending emails, is it safe?  (Richard Huxton <dev@archonet.com>)
Re: Plperlu and sending emails, is it safe?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello,

I need to send emails from Postgresql triggers.

I was able to do it with a 'plperlu' function, that calls the 'system'
perl function, that itself calls the 'mail' shell function.

Is is safe to do things like this? Is there a possible concurrent access
that could arise?

Another solution would be to use cron every 5 minutes, and read the
content of a table.

Thanks

Philippe Lang

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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: indexing lat lon
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: Plperlu and sending emails, is it safe?