Re: How to call a shell command in rule

Поиск
Список
Период
Сортировка
От Jie Liang
Тема Re: How to call a shell command in rule
Дата
Msg-id 39F7C0C3.FEE1D406@ipinc.com
обсуждение исходный текст
Ответ на Like Query on BLOB's  (Craig May <craig.may@s2.enthdimension.com.au>)
Список 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 по дате отправления:

Предыдущее
От: "Brian C. Doyle"
Дата:
Сообщение: Re: Alternate Database Locations
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Add Constraint