Re: Duplicate Workers entries in some EXPLAIN plans

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Duplicate Workers entries in some EXPLAIN plans
Дата
Msg-id 28694.1579887613@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Duplicate Workers entries in some EXPLAIN plans  (Maciek Sakrejda <m.sakrejda@gmail.com>)
Ответы Re: Duplicate Workers entries in some EXPLAIN plans  (Maciek Sakrejda <m.sakrejda@gmail.com>)
Список pgsql-hackers
Maciek Sakrejda <m.sakrejda@gmail.com> writes:
> Great, thank you. I noticed in the CF patch tester app, the build
> fails on Windows [1]. Investigating, I realized I had failed to fully
> strip volatile EXPLAIN info (namely buffers) in TEXT mode due to a
> bad regexp_replace.

You haven't gone nearly far enough in that direction.  The proposed
output still relies on the assumption that the session will always
get as many workers as it asks for, which it will not.  For previous
bitter experience in this department, see for instance commits 4ea03f3f4
and 13e8b2ee8.

TBH I am not sure that the proposed regression tests for this change
can be committed at all.  Which is a bit of a problem perhaps, but
then again we don't have terribly good coverage for the existing code
either, for the same reason.

            regards, tom lane



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

Предыдущее
От: Xiang Xiao
Дата:
Сообщение: any work item suggestion for newbie?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: making the backend's json parser work in frontend code