Function pgrx::fcinfo::pg_arg_is_null

source ·
pub unsafe fn pg_arg_is_null(fcinfo: FunctionCallInfo, num: usize) -> bool
Expand description

Is the specified argument for a PG_FUNCTION_INFO_V1 function NULL?

§Safety

This function is unsafe as we cannot ensure the fcinfo argument is a valid pg_sys::FunctionCallInfo pointer. This is your responsibility.