Re: BUG #15293: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: "michael(dot)paul(dot)powers(at)gmail(dot)com" <michael(dot)paul(dot)powers(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #15293: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events
Date: 2018-07-24 13:19:45
Message-ID: 45136061532438385@iva3-a2a8aac410a1.qloud-c.yandex.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Hello
Thank you for report

I checked this bug and found reason: we do not notify backends about new events by call ProcessCompletedNotifies from logical worker.
New notify from regular backend does call ProcessCompletedNotifies: send signal to all listen backends and found new events for youself.
But i am not sure where is correct place for call ProcessCompletedNotifies in logical worker src/backend/replication/logical/worker.c and i can not provide patch.

regards, Sergei

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-07-24 13:50:33 Re: BUG #15291: Lateral join has different/suprising semantics (with impure function)
Previous Message PG Bug reporting form 2018-07-24 12:13:34 BUG #15293: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events

Browse pgsql-hackers by date

  From Date Subject
Next Message Haribabu Kommi 2018-07-24 13:31:51 Re: Pluggable Storage - Andres's take
Previous Message Phil Florent 2018-07-24 12:50:05 RE: Re: [Proposal] Add accumulated statistics for wait event