Re: pg_logical_emit_message() misses a XLogFlush() - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pg_logical_emit_message() misses a XLogFlush()
Date
Msg-id 20230816041653.57jf5jckpm75yg2m@awork3.anarazel.de
Whole thread Raw
In response to Re: pg_logical_emit_message() misses a XLogFlush()  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pg_logical_emit_message() misses a XLogFlush()
List pgsql-hackers
Hi,

On 2023-08-16 12:37:21 +0900, Michael Paquier wrote:
> I won't fight much if there are objections to backpatching, but that's
> not really wise (no idea how much EDB's close flavor of BDR relies on
> that).

To be clear: I don't just object to backpatching, I also object to making
existing invocations flush WAL in HEAD. I do not at all object to adding a
parameter that indicates flushing, or a separate function to do so. The latter
might be better, because it allows you to flush a group of messages, rather
than a single one.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pg_logical_emit_message() misses a XLogFlush()
Next
From: Amit Langote
Date:
Subject: Re: remaining sql/json patches