From: | "Rajesh Kumar Mallah(dot)" <mallah(at)trade-india(dot)com> |
---|---|
To: | rhema(at)bhasin(dot)co(dot)in, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: |
Date: | 2002-05-23 13:41:03 |
Message-ID: | 200205231911.03035.mallah@trade-india.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi,
Even i would love to hear if there is any such feature.
but there is an easy work around, use the unix crontab
and -c option of psql to pass the query from the crontab file
it self.
regds
mallah.
On Thursday 23 May 2002 04:57 pm, rhema(at)bhasin(dot)co(dot)in wrote:
> hello,
> I need to know if there are any database event triggers
> in postgres like i want the trigger to run periodically(every day just like
> crontab on unix), i need to delete the records in a table automatically
> after a period of say 90 days.
>
> It is possible to create trigger on table before insert or update but if
> there are no insertions or updations on the table, the record will remain
> in the database.
> looking forward for the suggestions.
>
> Thanx in advance
> Hema
>
> _____________________________________
> Powered by EBHASIN V-Mail Service.
> Visit http://www.ebhasin.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)
Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.
From | Date | Subject | |
---|---|---|---|
Next Message | Rajesh Kumar Mallah. | 2002-05-23 13:44:27 | Re: Functions with dynamic queries |
Previous Message | Rajesh Kumar Mallah. | 2002-05-23 13:26:14 | Re: Further info : Very high load average but no cpu utilization ? |