Re: Background worker with Listen - Mailing list pgsql-general

From John R Pierce
Subject Re: Background worker with Listen
Date
Msg-id 23f90b34-756c-685a-29e7-e3a8f558280b@hogranch.com
Whole thread Raw
In response to Re: Background worker with Listen  (Ihnat Peter | TSS Group a.s. <Ihnat@TSSGROUP.sk>)
List 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 by date:

Previous
From: Steve Crawford
Date:
Subject: Re: psql color hostname prompt
Next
From: dabicho
Date:
Subject: Re: psql color hostname prompt