On 2014-05-15 09:11:15 +0900, Michael Paquier wrote: > When working on a decoder plugin, I have been pointed that it is > incorrect to write changes in an output plugin while not being in the > memory context where changes are written.
That was a misunderstanding. It's perfectly alright to do so. The 'bug' you have is that you sometimes wrote empty messages. Which pg_recvlogical doesn't accept. There's little reason to allow doing so, but for consistency we could probably ok to allow it. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers