Skip to main content

input_soft

Function input_soft 

Source
pub fn input_soft(
    ty: u32,
    text: &str,
    typmod: i32,
    session: &dyn Session,
) -> Result<Result<Value>>
Expand description

The text input function of the type, as InputFunctionCallSafe calls it. The outer error is a hard error, such as a type that has no input function. The inner error is a soft error of the input function for a bad value, which pg_input_is_valid reports as false. The checks of a domain are not part of the input.

ยงErrors

0A000 for a type that has no input function here.