Re: Hooking into ExplainOneQuery() complicated by missing standard_ExplainOneQuery - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: Hooking into ExplainOneQuery() complicated by missing standard_ExplainOneQuery
Date
Msg-id CAGECzQRTTZviydquT7qgusy+=_n-o5+4c5rNYw4kkLy+mA5h4Q@mail.gmail.com
Whole thread Raw
In response to Re: Hooking into ExplainOneQuery() complicated by missing standard_ExplainOneQuery  (Mats Kindahl <mats@timescale.com>)
Responses Re: Hooking into ExplainOneQuery() complicated by missing standard_ExplainOneQuery
List pgsql-hackers
This patch would definitely be useful for Citus. We indeed currently
copy all of that code into our own explain hook. And it seems we
actually have some bug. Because the es->memory branches were not
copied (probably because this code didn't exist when we copied it).


https://github.com/citusdata/citus/blob/d59c93bc504ad32621d66583de6b65f936b0ed13/src/backend/distributed/planner/multi_explain.c#L1248-L1289



pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: Injection points: some tools to wait and wake
Next
From: Richard Guo
Date:
Subject: Regarding the order of the header file includes