pub(crate) fn locate_plan(e: &PlanError, source: &str) -> Option<Range<usize>>Expand description
Locate the byte range a PlanError points at within source.
For variants that carry a column or function name, finds the first
whole-word occurrence in source. For variants that wrap a
ParserError, returns its byte offset directly.