From: | Jie Liang <jliang(at)ipinc(dot)com> |
---|---|
To: | Clayton Cottingham <drfrog(at)smartt(dot)com> |
Cc: | Chris Reynolds <chris(dot)reynolds(at)marketingtips(dot)com>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: How to call a shell command in rule |
Date: | 2000-10-26 05:27:31 |
Message-ID: | 39F7C0C3.FEE1D406@ipinc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)ipinc(dot)com
> > www.ipinc.com
> >
> >
> >
> >
> >
--
Jie LIANG
Internet Products Inc.
10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873
jliang(at)ipinc(dot)com
www.ipinc.com
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2000-10-26 05:47:43 | Re: Add Constraint |
Previous Message | Tom Lane | 2000-10-26 04:09:09 | Re: plperl |