pub fn parse_type(text: &str, env: &dyn Env) -> Result<Result<(u32, i32)>>Expand description
parseTypeString: the OID and the typmod of the type that a string names, as the input of regtype and to_regtypemod read it.
ยงErrors
The outer error is an error for any caller: a syntax error, SETOF, a name with too many dots and a bad type modifier. The inner error is a type or a schema that does not exist, which to_regtype gives as a null. No error has a place, except a syntax error, whose place is in text.