Plperlu and sending emails, is it safe? - Mailing list pgsql-general

From Philippe Lang
Subject Plperlu and sending emails, is it safe?
Date
Msg-id 6C0CF58A187DA5479245E0830AF84F420B018B@poweredge.attiksystem.ch
Whole thread Raw
Responses Re: Plperlu and sending emails, is it safe?
Re: Plperlu and sending emails, is it safe?
Re: Plperlu and sending emails, is it safe?
List 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 by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: indexing lat lon
Next
From: Karsten Hilbert
Date:
Subject: Re: Plperlu and sending emails, is it safe?