On Mon, Nov 16, 2009 at 2:42 PM, Shruthi A <shruthi(dot)iisc(at)gmail(dot)com> wrote:
> Is it possible in postgres to write a trigger that is fired at a certain
> pre-defined time? ie I want to write a trigger that checks if the current
> time is one of a certain list of dates, and if yes, it should be executed.
> (I want it to execute only once on a matching date.)
> I'm using EnterpriseDB Postgres Plus 8.3
AFAIK, no, you cannot. But you can use a cron job that executes that
trigger via psql, same way you would do in the command console.
"Ubi sapientas ibi libertas"
In response to
pgsql-admin by date
|Next:||From: Milen A. Radev||Date: 2009-11-16 14:55:18|
|Subject: Re: Can i write a time-trigger?|
|Previous:||From: Shruthi A||Date: 2009-11-16 13:42:58|
|Subject: Can i write a time-trigger?|