Re: Improve error reporting in 027_stream_regress test - Mailing list pgsql-hackers

From Nazir Bilal Yavuz
Subject Re: Improve error reporting in 027_stream_regress test
Date
Msg-id CAN55FZ3Of-mkK2TUO2P5R1Y6JsO4=NCFHa9+bZfOJDgaZ63mrA@mail.gmail.com
Whole thread Raw
In response to Re: Improve error reporting in 027_stream_regress test  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Hi,

On Sat, 19 Jul 2025 at 09:06, Michael Paquier <michael@paquier.xyz> wrote:
>
> The structure is strange, it seems to me that we should target things
> so as we have only one PG_TEST_FILE_TRIM_LINES defined in the tree,
> not two with one local to 027.

I see your point. Then the problem is regression_log_helper() can't
check if $lines_to_dump * 2 is bigger than the number of lines in the
regression.diffs file. So, it can't decide whether or not to dump all
of the regression.diffs. Would it be okay if we repeat some lines in
both the head and tail lines?

-- 
Regards,
Nazir Bilal Yavuz
Microsoft



pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: Document slot's restart_lsn can go backward
Next
From: Thomas Munro
Date:
Subject: Re: index prefetching