Re: Duplicate Workers entries in some EXPLAIN plans - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Duplicate Workers entries in some EXPLAIN plans
Date
Msg-id 28694.1579887613@sss.pgh.pa.us
Whole thread Raw
In response to Re: Duplicate Workers entries in some EXPLAIN plans  (Maciek Sakrejda <m.sakrejda@gmail.com>)
Responses Re: Duplicate Workers entries in some EXPLAIN plans  (Maciek Sakrejda <m.sakrejda@gmail.com>)
List 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 by date:

Previous
From: Xiang Xiao
Date:
Subject: any work item suggestion for newbie?
Next
From: Alvaro Herrera
Date:
Subject: Re: making the backend's json parser work in frontend code