pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jie Liang <jliang@ipinc.com>
To: Clayton Cottingham <drfrog@smartt.com>
Cc: Chris Reynolds <chris.reynolds@marketingtips.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to call a shell command in rule
Date: Wed, 25 Oct 2000 22:27:31 -0700
Message-ID: <39F7C0C3.FEE1D406@ipinc.com> (raw)
References: <20001024132108.A2092@s2.enthdimension.com.au>
	<39F71C10.FCA59A38@ipinc.com>
	<20001025231623.6342D2185@klay.imc>

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






view thread (3+ messages)

Message-ID: <39F7C0C3.FEE1D406@ipinc.com>
Permalink:  ../39F7C0C3.FEE1D406@ipinc.com/
Also on:    postgresql.org/message-id/39F7C0C3.FEE1D406@ipinc.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jliang@ipinc.com, drfrog@smartt.com, chris.reynolds@marketingtips.com
  Subject: Re: How to call a shell command in rule
  In-Reply-To: <39F7C0C3.FEE1D406@ipinc.com>
  References: <20001024132108.A2092@s2.enthdimension.com.au> <39F71C10.FCA59A38@ipinc.com> <20001025231623.6342D2185@klay.imc> <39F7C0C3.FEE1D406@ipinc.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox