| From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
|---|---|
| To: | Tino Wildenhain <tino(at)wildenhain(dot)de> |
| Cc: | Alexander Deruwe <aderuwe(at)aqs-carcontrol(dot)be>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Sending email from PL/pgsql |
| Date: | 2003-10-30 17:37:02 |
| Message-ID: | [email protected] |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Tino Wildenhain wrote:
> 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 ;-)
Complete? You forgot PL/TclU at least ;-)
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2003-10-30 18:14:44 | Re: dump schema schema only? |
| Previous Message | Ken Guest | 2003-10-30 16:46:14 | Re: formatting of SQL sent by PHP to postgres |