fn int_parameter<T>(
data: Option<T>,
server_type: Option<&ConcreteDataType>,
client_type: &Type,
unconverted: fn(Option<T>) -> ScalarValue,
) -> PgWireResult<ScalarValue>Expand description
Converts an integer parameter to an integer or timestamp server type. Without a server type, the value keeps the client’s width.