Re: triggers on date?
От | Jason Earl |
---|---|
Тема | Re: triggers on date? |
Дата | |
Msg-id | 87lm8u3shh.fsf@npa01zz001.simplot.com обсуждение исходный текст |
Ответ на | triggers on date? (Lev Lvovsky <lists1@sonous.com>) |
Ответы |
Re: triggers on date?
|
Список | pgsql-general |
If it only needs to be /fairly/ realtime, then you could use cron to fire a script every minute. Otherwise you could write an external long-running program that listens for notifies. Jason Lev Lvovsky <lists1@sonous.com> writes: > is it possible to create a trigger when the system time has reached the > date of a particular record? I know this is possible with an external > script, but I'm not quite sure how to go about making it fairly > real-time... > > thanks! > -lev > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly
В списке pgsql-general по дате отправления: