Re: How to run a task continuously in the background

Поиск
Список
Период
Сортировка
Искать
От
Dirk Mika
Тема
Re: How to run a task continuously in the background
Дата
Msg-id
BAF99260-A043-4AB7-AB36-6CD84862FEC6@mikatiming.de
Ответ на
Список
Дерево обсуждения
How to run a task continuously in the background Dirk Mika <Dirk.Mika@mikatiming.de>
RE: How to run a task continuously in the background Steven Winfield <Steven.Winfield@cantabcapital.com>
Re: How to run a task continuously in the background Dirk Mika <Dirk.Mika@mikatiming.de>
Re: How to run a task continuously in the background Michael Nolan <htfoot@gmail.com>
Re: How to run a task continuously in the background Alan Hodgson <ahodgson@lists.simkin.ca>
Re: How to run a task continuously in the background Dirk Mika <Dirk.Mika@mikatiming.de>
Re: How to run a task continuously in the background Brent Wood <pcreso@yahoo.com>
Re: How to run a task continuously in the background Dirk Mika <Dirk.Mika@mikatiming.de>
Re: How to run a task continuously in the background lilu <lixiao_fly@126.com>
Re: How to run a task continuously in the background Tim Clarke <tim.clarke@minerva.info>
Re: How to run a task continuously in the background Dirk Mika <Dirk.Mika@mikatiming.de>
Re: How to run a task continuously in the background dinesh kumar <dineshkumar02@gmail.com>
Re: How to run a task continuously in the background Dirk Mika <Dirk.Mika@mikatiming.de>
Re: How to run a task continuously in the background Luca Ferrari <fluca1978@gmail.com>
Re: How to run a task continuously in the background Dirk Mika <Dirk.Mika@mikatiming.de>
Re: How to run a task continuously in the background "Weatherby,Gerard" <gweatherby@uchc.edu>
Re: How to run a task continuously in the background Dirk Mika <Dirk.Mika@mikatiming.de>
Re: How to run a task continuously in the background Rob Sargent <robjsargent@gmail.com>
Re: How to run a task continuously in the background Luca Ferrari <fluca1978@gmail.com>
Re: How to run a task continuously in the background Dirk Mika <Dirk.Mika@mikatiming.de>
Re: How to run a task continuously in the background Luca Ferrari <fluca1978@gmail.com>
Re: How to run a task continuously in the background Rory Campbell-Lange <rory@campbell-lange.net>
Re: How to run a task continuously in the background "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: How to run a task continuously in the background Rory Campbell-Lange <rory@campbell-lange.net>
Re: How to run a task continuously in the background Dirk Mika <Dirk.Mika@mikatiming.de>
Re: How to run a task continuously in the background "Weatherby,Gerard" <gweatherby@uchc.edu>

 

We used a trigger that called pg_notify (https://www.postgresql.org/docs/9.5/sql-notify.html​) and then had another

process that LISTENed for notifications.

 

What kind of process is this? I'm assuming that this is an application written in C.

 

The advantage of LISTEN / NOTIFY is only that the process which should process data does not have to do polling, but is notified when there is something to do.

 

Dirk

 

--
Dirk Mika
Software Developer



mika:timing GmbH
Strundepark - Kürtener Str. 11b
51465 Bergisch Gladbach
Germany

fon +49 2202 2401-1197
dirk.mika@mikatiming.de
www.mikatiming.de

AG Köln HRB 47509 * WEEE-Reg.-Nr. DE 90029884
Geschäftsführer: Harald Mika, Jörg Mika


 
В списке pgsql-general по дате отправления
От: Dirk Mika
Дата:
FAQ