Re: How to call a shell command in rule - Mailing list pgsql-sql

From Jie Liang
Subject Re: How to call a shell command in rule
Date
Msg-id 39F7C0C3.FEE1D406@ipinc.com
Whole thread Raw
In response to Like Query on BLOB's  (Craig May <craig.may@s2.enthdimension.com.au>)
List pgsql-sql
Hi,


but perl cannot be used in trigger yet  :-(

Clayton Cottingham wrote:

> On Wed, 25 Oct 2000 10:44:48 -0700, Jie Liang said:
>
> > Hi,
> >
> >  I want send a e-mail when the rows of mytable reaches 100,000, how?
> >
> >
> >
>
> one way is to make a function using perl
> and use say mail::sender as the module to send the info
>
> use the code snippet
> in perldoc Mail::Sender
>
> another would be to build a cron perl job that would run every so often and
> check out
> how many rows then send email
>
> >  --
> >  Jie LIANG
> >
> >  Internet Products Inc.
> >
> >  10350 Science Center Drive
> >  Suite 100, San Diego, CA 92121
> >  Office:(858)320-4873
> >
> >  jliang@ipinc.com
> >  www.ipinc.com
> >
> >
> >
> >
> >

--
Jie LIANG

Internet Products Inc.

10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873

jliang@ipinc.com
www.ipinc.com





pgsql-sql by date:

Previous
From: "Brian C. Doyle"
Date:
Subject: Re: Alternate Database Locations
Next
From: Stephan Szabo
Date:
Subject: Re: Add Constraint