Re: Add a perl function in Cluster.pm to generate WAL - Mailing list pgsql-hackers

From Euler Taveira
Subject Re: Add a perl function in Cluster.pm to generate WAL
Date
Msg-id 5d160064-8cbe-4b32-9c55-c983b1f63b12@app.fastmail.com
Whole thread Raw
In response to Re: Add a perl function in Cluster.pm to generate WAL  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Add a perl function in Cluster.pm to generate WAL
List pgsql-hackers
On Tue, Dec 19, 2023, at 8:00 PM, Michael Paquier wrote:
On Tue, Dec 19, 2023 at 11:25:50AM +0530, Bharath Rupireddy wrote:
> I used pg_logical_emit_message() in non-transactional mode without
> needing an explicit WAL flush as the pg_switch_wal() does a WAL flush
> at the end [1].

Indeed, that should be enough to answer my comment.

> Attached v4 patch.

LGTM, thanks.  Euler, what do you think?


LGTM.


--
Euler Taveira

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Improve eviction algorithm in ReorderBuffer
Next
From: Amit Kapila
Date:
Subject: Re: Synchronizing slots from primary to standby