Skip site navigation (1) Skip section navigation (2)

Plperlu and sending emails, is it safe?

From: "Philippe Lang" <philippe(dot)lang(at)attiksystem(dot)ch>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Plperlu and sending emails, is it safe?
Date: 2004-06-28 08:13:02
Message-ID: 6C0CF58A187DA5479245E0830AF84F420B018B@poweredge.attiksystem.ch (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-general by date

Next:From: Karsten HilbertDate: 2004-06-28 08:46:38
Subject: Re: Plperlu and sending emails, is it safe?
Previous:From: Oleg BartunovDate: 2004-06-28 07:29:13
Subject: Re: indexing lat lon

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group