Re: Sending email from PL/pgsql

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: Alexander Deruwe <aderuwe(at)aqs-carcontrol(dot)be>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Sending email from PL/pgsql
Date: 2003-10-30 13:11:07
Message-ID: 3FA10DEB.8020603@wildenhain.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Alexander Deruwe schrieb:
> Hey,
>
> I was wondering if it is possible to send email from within PL/pgsql.
> I'd like to do this to avoid code duplication in multiple frontends.
> Can this be done somehow? Or do I have to write a C function for this
> purpose? If so, how does one go about that?
>

And to make it complete, now that plpython is unrestricted,
you can also use plpythonu for this tasks. Works very well
since this was one of the tests I had to make just after
I got my hands on plpythonu ;-)

For example including query results as attachment appeals to me.

Regards
Tino

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff 2003-10-30 13:20:05 Re: slow query performance
Previous Message Tino Wildenhain 2003-10-30 13:01:01 Re: pgAdmin vs SQL Server Enterprise Manager