Re: Can i write a time-trigger?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 16, 2009 at 2:42 PM, Shruthi A <shruthi.iisc@xxxxxxxxx> 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.

-- 
Jaume Sabater
http://linuxsilo.net/

"Ubi sapientas ibi libertas"

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux