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

From Michael Paquier
Subject Re: Add a perl function in Cluster.pm to generate WAL
Date
Msg-id ZYIgg55UyDS56Y9l@paquier.xyz
Whole thread Raw
In response to Re: Add a perl function in Cluster.pm to generate WAL  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: Add a perl function in Cluster.pm to generate WAL
List pgsql-hackers
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?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Built-in CTYPE provider
Next
From: Peter Smith
Date:
Subject: Re: "pgoutput" options missing on documentation