From: | selkovjr(at)mcs(dot)anl(dot)gov |
---|---|
To: | pgsql-announce(at)postgreSQL(dot)org |
Cc: | pgsql-admin(at)postgreSQL(dot)org |
Subject: | Sending e-mail from a trigger |
Date: | 2000-06-11 21:53:55 |
Message-ID: | 200006112229.RAA10665@mail.xnet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-announce |
I haven't paid much attention to the discussions of SPI, but I
remember seeing questions about the server-side system tasks in the
trigger context, among which sending mail was the most frequent.
I am not aware whether such questions were sufficiently answered in
the lists, so when I had to write my first ever trigger yesterday, I
felt like I was on my own with the system tasks (although the triggers
and plpgsql are explained very well in the docs). So, here's my take on e-mail:
http://wit.mcs.anl.gov/~selkovjr/pg_extensions/contrib.tgz
(see the README in mail/)
I believe it should be trivial to do other tasks in a similar way,
using sockets and rsh. At least, it is better to do it that way than
fork the backend.
--Gene
From | Date | Subject | |
---|---|---|---|
Next Message | Dirk Heinrichs | 2000-06-12 08:05:17 | Re: Importing table from mysql |
Previous Message | hagay | 2000-06-11 17:03:05 | connection between postgress and delphi4? |
From | Date | Subject | |
---|---|---|---|
Next Message | Lincoln Yeoh | 2000-06-12 02:03:12 | Re: [GENERAL] Book nearing final form |
Previous Message | Bruce Momjian | 2000-06-08 23:24:58 | Re: Book nearing final form |