Re: Improve error reporting in 027_stream_regress test

Поиск
Список
Период
Сортировка
От Nazir Bilal Yavuz
Тема Re: Improve error reporting in 027_stream_regress test
Дата
Msg-id CAN55FZ3Of-mkK2TUO2P5R1Y6JsO4=NCFHa9+bZfOJDgaZ63mrA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Improve error reporting in 027_stream_regress test  (Michael Paquier <michael@paquier.xyz>)
Список 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 по дате отправления: