> I missed this at the time, but happened to run across this by coincidence. > > Consider this a late +1 on the idea, i.e. I do think that emitting the > plan ID as "plan identifier" in EXPLAIN seems reasonable when a plugin > sets it - the cost is negligible, and it'd make it easier to work with > extensions like pg_stat_plans.
FWIW, the per plan hooks introduced in 4fd02bf7cf94c can allow an extension to emit the plan identifier in EXPLAIN as well. -- Sami Imseih Amazon Web Services (AWS)
