Re: BUG #15293: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events - Mailing list pgsql-bugs

From Sergei Kornilov
Subject Re: BUG #15293: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events
Date
Msg-id 45136061532438385@iva3-a2a8aac410a1.qloud-c.yandex.net
Whole thread Raw
In response to BUG #15293: Stored Procedure Triggered by Logical Replication isUnable to use Notification Events  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #15293: Stored Procedure Triggered by Logical Replication isUnable to use Notification Events
List pgsql-bugs
Hello
Thank you for report

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

regards, Sergei


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15293: Stored Procedure Triggered by Logical Replication isUnable to use Notification Events
Next
From: Tom Lane
Date:
Subject: Re: BUG #15291: Lateral join has different/suprising semantics (with impure function)