Re: a primer on trigger?

From: newsreader(at)mediaone(dot)net
To: Joel Burton <jburton(at)scw(dot)org>
Subject: Re: a primer on trigger?
Date: 2001-05-04 22:08:03
Message-ID: 20010504180739.C666@dragon.universe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, May 04, 2001 at 12:48:24PM -0400, Joel Burton wrote:
> On Fri, 4 May 2001 newsreader(at)mediaone(dot)net wrote:
>
> What is the system call? Could you do this in pl/tclu, the
> untrusted version of pl/tcl?
>

"system" call is a perl script which does many things
including the following

1. check the data for validity
2. write a text file
3. submit an "at" job with that text file
as input. The time that "at"
job runs is also part of the
incoming data in the email.
4. capture "at" job number
5. upload the data to postgres including
"at" job number.

Sometime an email will come in to cancel
this "at" job. In which case a different
perl script is called to look up "at"
job number and then calls "atrm" to kill
that job.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message newsreader 2001-05-04 22:10:24 Re: a primer on trigger?
Previous Message Stephan Szabo 2001-05-04 22:06:24 Re: delete with cascade