executing a procedure with delay

From: Ottavio Campana <ottavio(at)campana(dot)vi(dot)it>
To: General PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: executing a procedure with delay
Date: 2007-12-12 13:16:53
Message-ID: 475FDF45.80805@campana.vi.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'd like to execute a stored procedure in postgresql one minute after a
table has been modified. In case there are two changes in less than one
minute, I want to reset the time that has to be waited before running
the procedure.

I think I need to use a trigger, but I don't know how...

Can you help me please?

--
Non c'e' piu' forza nella normalita', c'e' solo monotonia.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ashish Karalkar 2007-12-12 13:21:32 Re: very slow query
Previous Message Alvaro Herrera 2007-12-12 13:15:18 Re: very slow query