Amit Langote <langote_amit...@lab.ntt.co.jp> writes: > On 2019/04/17 11:29, David Rowley wrote: >> Where do you think the output list for EXPLAIN VERBOSE should put the >> output column list in this case? On the Append node, or just not show >> them?
> Maybe, not show them? Yeah, I think that seems like a reasonable idea. If we show the tlist for Append in this case, when we never do otherwise, that will be confusing, and it could easily break plan-reading apps like depesz.com. What I'm more worried about is whether this breaks any internal behavior of explain.c, as the comment David quoted upthread seems to think. If we need to have a tlist to reference, can we make that code look to the pre-pruning plan tree, rather than the planstate tree? regards, tom lane