pub fn query_text(payload: &[u8]) -> Option<&str>Expand description
Borrow the SQL text out of a Query/Parse-style payload without
copying. Mirrors read_cstring semantics (bytes up to the first
NUL, strict UTF-8) but never allocates — for hot-path inspection
where the message itself is forwarded verbatim.