pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah. <mallah@trade-india.com>
To: rhema@bhasin.co.in
To: pgsql-sql@postgresql.org
Subject: Re:
Date: Thu, 23 May 2002 19:11:03 +0530
Message-ID: <200205231911.03035.mallah@trade-india.com> (raw)
In-Reply-To: <20020523112720.23101.qmail@vmail1.ebhasin.com>
References: <20020523112720.23101.qmail@vmail1.ebhasin.com>


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@bhasin.co.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.





view thread (3+ messages)  latest in thread

Message-ID: <200205231911.03035.mallah@trade-india.com>
Permalink:  ../200205231911.03035.mallah@trade-india.com/
Also on:    postgresql.org/message-id/200205231911.03035.mallah@trade-india.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mallah@trade-india.com, rhema@bhasin.co.in
  Subject: Re:
  In-Reply-To: <200205231911.03035.mallah@trade-india.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