Re: Background worker with Listen

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Background worker with Listen
Date: 2016-04-27 17:26:12
Message-ID: 23f90b34-756c-685a-29e7-e3a8f558280b@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message dabicho 2016-04-27 18:05:12 Re: psql color hostname prompt
Previous Message Steve Crawford 2016-04-27 17:09:01 Re: psql color hostname prompt