Re: Background worker with Listen

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Background worker with Listen
Дата
Msg-id 23f90b34-756c-685a-29e7-e3a8f558280b@hogranch.com
обсуждение исходный текст
Ответ на Re: Background worker with Listen  (Ihnat Peter | TSS Group a.s. <Ihnat@TSSGROUP.sk>)
Список pgsql-general
On 4/27/2016 1:40 AM, Ihnat Peter | TSS Group a.s. wrote:

I don’t want to create client to do some work in the DB if the DB can do it itself on server side much faster.

The situation is that some data are inserted in to many tables and if these data need to be post processed a notification is generated. Then the worker needs to wake up and do its stuff.

Maybe this can be done in a different way than listening for notifications?


that could be done with a trigger.



-- 
john r pierce, recycling bits in santa cruz

В списке pgsql-general по дате отправления:

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: psql color hostname prompt
Следующее
От: dabicho
Дата:
Сообщение: Re: psql color hostname prompt