Tomas Vondra <tomas.von...@2ndquadrant.com> writes: > ... Perhaps a path-specific struct, referenced > from the path and built only with verbose explain would be fine?
How would that work, given that the planner doesn't know whether its output is going to get explained? With features like the plan cache and auto_explain in mind, it's very hard to see how you avoid having to save the information always. regards, tom lane