pub fn write_plan_sql(plan: &Plan, w: &mut dyn Write) -> Result<(), PlanIoError>Expand description
Write a plan’s plan.sql to w.
Output is canonical bytes-out: the same plan always produces the same
bytes. The only non-determinism would be metadata.created_at, which is
captured at Plan::from_grouped time.