Re: The trigger can be specified to fire on time condition?
В списке pgsql-performance по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: The trigger can be specified to fire on time condition? |
| Дата | |
| Msg-id | 20060227171007.GD6490@surnet.cl обсуждение исходный текст |
| Ответ на | The trigger can be specified to fire on time condition? (Jamal Ghaffour <Jamal.Ghaffour@elios-informatique.fr>) |
| Список | pgsql-performance |
Jamal Ghaffour wrote: > Hi All, > I ' m using the postgresql datbase to stores cookies. Theses cookies > become invalid after 30 mn and have to be deleted. i have defined a > procedure that will > delete all invalid cookies, but i don't know how to call it in loop way > (for example each hour). > I think that it possible because this behaivor is the same of the > autovaccum procedure that handle the vaccum process every time (60s in > default way). > After reading the documentation, it seems that triggers can't handle > this stuff . > how can i resolve the problem ? Use your system's crontab! (On Windows, "scheduled tasks" or whatever). -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера