Re: Improve error reporting in 027_stream_regress test

Поиск
Список
Период
Сортировка
От Brandon Tat
Тема Re: Improve error reporting in 027_stream_regress test
Дата
Msg-id F52846E6-1774-4DF6-A94C-50C98CF0B338@gmail.com
обсуждение исходный текст
Ответ на Re: Improve error reporting in 027_stream_regress test  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Improve error reporting in 027_stream_regress test
Список pgsql-hackers
Hi Michael,

Regarding the function regression_log_helper(), this function reads all the lines in the logs at line 219 of
src/test/recovery/t/027_stream_regress.pl.It seems wasteful to read the file again twice in read_file_ends().
Alternatively,we could read the file once within regression_log_helper() and index lines to emit the lines that we
want.

- Brandon & Ben


В списке pgsql-hackers по дате отправления: