Re: NOTIFY in Background Worker - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: NOTIFY in Background Worker
Date
Msg-id CAEepm=2h8_-o_FERHJJbAbGACZggOJ0BUDn0=_ygb_Ggwne9Zg@mail.gmail.com
Whole thread Raw
In response to Re: NOTIFY in Background Worker  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Responses Re: NOTIFY in Background Worker  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Fri, Nov 6, 2015 at 12:08 PM, Haribabu Kommi <kommi.haribabu@gmail.com> wrote:
On Fri, Nov 6, 2015 at 4:57 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Thu, Nov 5, 2015 at 12:34 AM, Haribabu Kommi
> <kommi.haribabu@gmail.com> wrote:
>> I marked this patch as ready for committer.
>
> The patch says:
>
> If a background worker registers to receive asynchronous notifications
> with the <command>LISTEN</command> through <acronym>SPI</acronym>,
> there is currently no way for incoming notifications to be received.
>
> But wouldn't it be more correct to say:
>
> If a background worker registers to receive asynchronous notifications
> with the <command>LISTEN</command> through <acronym>SPI</acronym>, the
> worker will log those notifications, but there is no programmatic way
> for the worker to intercept and respond to those notifications.

Yes, the above description is good.

+1

--

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Some questions about the array.
Next
From: Robert Haas
Date:
Subject: Re: Within CF app, "Bug Fixes" should be "Bug Fixes/Refactoring"