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 ZYEaLlhZ5lgTqsaQ@paquier.xyz
Whole thread Raw
In response to Re: Add a perl function in Cluster.pm to generate WAL  ("Euler Taveira" <euler@eulerto.com>)
Responses Re: Add a perl function in Cluster.pm to generate WAL
List pgsql-hackers
On Mon, Dec 18, 2023 at 08:48:09AM -0300, Euler Taveira wrote:
> It is cheaper.

Agreed that this could just use a set of pg_logical_emit_message()
when jumping across N segments.  Another thing that seems quite
important to me is to force a flush of WAL with the last segment
switch, and the new "flush" option of pg_logical_emit_message() can
be very handy for this purpose.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Clang optimiser vs preproc.c
Next
From: Amit Kapila
Date:
Subject: Re: Synchronizing slots from primary to standby