pub fn type_of(locals: &Locals, name: &str) -> Option<String>Expand description
Look up the declared type of a PL/pgSQL local by name. Searches
parameters first, then DECLARE’d locals. Case-insensitive match.
Returns the raw type string (users, INT, promo_codes%ROWTYPE,
etc.) so callers can decide what to do with it.