| От | Jaume Sabater |
|---|---|
| Тема | Re: Can i write a time-trigger? |
| Дата | |
| Msg-id | 3786f7bb0911160617h56a59ffeqeeb5292aa8c94515@mail.gmail.com обсуждение |
| Ответ на | Can i write a time-trigger? (Shruthi A <shruthi.iisc@gmail.com>) |
| Список | pgsql-admin |
On Mon, Nov 16, 2009 at 2:42 PM, Shruthi A <shruthi.iisc@gmail.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. -- Jaume Sabater http://linuxsilo.net/ "Ubi sapientas ibi libertas"
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера