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

Sending e-mail from a trigger

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-adminpgsql-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:

(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.


pgsql-announce by date

Next:From: Lincoln YeohDate: 2000-06-12 02:03:12
Subject: Re: [GENERAL] Book nearing final form
Previous:From: Bruce MomjianDate: 2000-06-08 23:24:58
Subject: Re: Book nearing final form

pgsql-admin by date

Next:From: Dirk HeinrichsDate: 2000-06-12 08:05:17
Subject: Re: Importing table from mysql
Previous:From: hagayDate: 2000-06-11 17:03:05
Subject: connection between postgress and delphi4?

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