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

Re: How to call a shell command in rule

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 (view raw or flat)
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




In response to

pgsql-sql by date

Next:From: Stephan SzaboDate: 2000-10-26 05:47:43
Subject: Re: Add Constraint
Previous:From: Tom LaneDate: 2000-10-26 04:09:09
Subject: Re: plperl

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