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.
pgsql-general by date
|Next:||From: Karsten Hilbert||Date: 2004-06-28 08:46:38|
|Subject: Re: Plperlu and sending emails, is it safe?|
|Previous:||From: Oleg Bartunov||Date: 2004-06-28 07:29:13|
|Subject: Re: indexing lat lon|