Re: BUG #15293: Stored Procedure Triggered by Logical Replication is Unable to use Notification Events
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Sergei Kornilov <sk@zsrv.org>, Petr Jelinek <petr@2ndquadrant.com>
Cc: "michael.paul.powers@gmail.com" <michael.paul.powers@gmail.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2018-07-24T15:58:29Z
Lists: pgsql-bugs, pgsql-hackers
Hi, On 2018-07-24 16:19:45 +0300, Sergei Kornilov wrote: > 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. Peter, Petr, this is the second report of this issue. Anything? Greetings, Andres Freund
Commits
-
Disallow LISTEN in background workers.
- e06cc024bd33 13.5 landed
- d84d62b6225b 14.0 landed
- 1316be28664f 15.0 landed
-
Send NOTIFY signals during CommitTransaction.
- 63f28776cb9f 13.5 landed
- 2e4eae87d02f 15.0 landed
- 0eff10a00844 14.0 landed
-
Make some efficiency improvements in LISTEN/NOTIFY.
- 51004c7172b5 13.0 cited