| От | Greg Stark |
|---|---|
| Тема | Re: implementing an out-of-transaction trigger |
| Дата | |
| Msg-id | 87sm9irhl8.fsf@stark.xeocode.com обсуждение исходный текст |
| Ответ на | Re: implementing an out-of-transaction trigger ("Iain" <iain@mst.co.jp>) |
| Список | pgsql-sql |
"Iain" <iain@mst.co.jp> writes: > Though, as far as I can tell, there is no way to have the notify activate a > pl/pgsql function directly. I'll still need to write a client program to > create a session and actually do the listening, that is if I havn't missed > anything else... Right, presumably some sort of daemon that sits and waits for events. Much like you would have with Oracle advanced queuing and such. The big difference is that NOTIFY doesn't pass along any parameters. You will need some way for your daemon to find any pending data it needs to process. You might need some kind of queue table, or you might be able to get by without one. -- greg
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера