Re: 039_end_of_wal: error in "xl_tot_len zero" test - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: 039_end_of_wal: error in "xl_tot_len zero" test
Date
Msg-id ZtCG-KS__hEEpThn@nathan
Whole thread Raw
In response to Re: 039_end_of_wal: error in "xl_tot_len zero" test  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 039_end_of_wal: error in "xl_tot_len zero" test
List pgsql-hackers
On Thu, Aug 29, 2024 at 01:55:27AM -0400, Tom Lane wrote:
> Thomas Munro <thomas.munro@gmail.com> writes:
>> The fix I propose to commit shortly is just the first of those new
>> lines, to homogenise the initial state.  See attached.  The previous
>> idea works too, I think, but this bigger hammer is more obviously
>> removing variation.
> 
> +1, but a comment explaining the need for the pg_switch_wal call
> seems in order.

+1

-- 
nathan



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Removing log_cnt from pg_sequence_read_tuple()
Next
From: Nathan Bossart
Date:
Subject: Re: Partitioned tables and [un]loggedness